mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-29 18:48:44 +00:00
tracers: rusage: fix minor string leak in constructor
This commit is contained in:
parent
ef0df31c5e
commit
04aad3f4cf
1 changed files with 1 additions and 0 deletions
|
@ -270,6 +270,7 @@ gst_rusage_tracer_constructed (GObject * object)
|
|||
return;
|
||||
|
||||
tmp = g_strdup_printf ("rusage,%s", params);
|
||||
g_free (params);
|
||||
params_struct = gst_structure_from_string (tmp, NULL);
|
||||
g_free (tmp);
|
||||
if (!params_struct)
|
||||
|
|
Loading…
Reference in a new issue