From 01c2ba564a8a42378cb896ecfed1d9c1f4e548a3 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Tue, 24 May 2016 14:05:24 +0000 Subject: [PATCH] validate: transcoding: fix encoding_profile leak Reviewed-by: Thibault Saunier Differential Revision: https://phabricator.freedesktop.org/D980 --- validate/tools/gst-validate-transcoding.c | 1 + 1 file changed, 1 insertion(+) diff --git a/validate/tools/gst-validate-transcoding.c b/validate/tools/gst-validate-transcoding.c index 54b4e91a1a..aa0084db2d 100644 --- a/validate/tools/gst-validate-transcoding.c +++ b/validate/tools/gst-validate-transcoding.c @@ -976,6 +976,7 @@ exit: gst_element_set_state (pipeline, GST_STATE_NULL); g_main_loop_unref (mainloop); + g_clear_object (&encoding_profile); g_object_unref (pipeline); g_object_unref (monitor); g_object_unref (runner);