From: Guillaume Desmottes Date: Mon, 2 May 2016 15:35:29 +0000 (+0200) Subject: inspect: fix feature leak X-Git-Tag: 1.10.4~267 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4fe32b923f387c61865bc734fcc7c508ca4a8101;p=platform%2Fupstream%2Fgstreamer.git inspect: fix feature leak https://bugzilla.gnome.org/show_bug.cgi?id=765957 --- diff --git a/tools/gst-inspect.c b/tools/gst-inspect.c index 845f52e..5c93b4f 100644 --- a/tools/gst-inspect.c +++ b/tools/gst-inspect.c @@ -1561,6 +1561,9 @@ main (int argc, char *argv[]) } else { exit_code = 1; } + + if (feature) + gst_object_unref (feature); } else { /* FIXME: support checking for plugins too */ g_printerr ("Checking for plugins is not supported yet\n");