tracers: rusage: fix minor string leak in constructor

This commit is contained in:
Tim-Philipp Müller 2020-01-26 00:32:18 +00:00
parent ef0df31c5e
commit 04aad3f4cf

View file

@ -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)