From 04aad3f4cfe7a8400faea0caf34e31bb88cd1774 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Sun, 26 Jan 2020 00:32:18 +0000 Subject: [PATCH] tracers: rusage: fix minor string leak in constructor --- plugins/tracers/gstrusage.c | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/tracers/gstrusage.c b/plugins/tracers/gstrusage.c index 84994aa..b91cb16 100644 --- a/plugins/tracers/gstrusage.c +++ b/plugins/tracers/gstrusage.c @@ -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) -- 2.7.4