Commit 3d998512 authored by Nicolas Dufresne's avatar Nicolas Dufresne
Browse files

gstinfo: Fix leak in generate_backtrace_trace

Spotted by Laurent Pinchart.
parent 5dc95e00
Pipeline #457800 waiting for manual action with stages
in 28 seconds
......@@ -3002,7 +3002,7 @@ generate_backtrace_trace (void)
strings = backtrace_symbols (buffer, nptrs);
if (!strings)
return NULL;
return g_string_free (trace, TRUE);
trace = g_string_new (NULL);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment