From b40c0b875cbddf30c0c318350cae59f6cad6dfc7 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Thu, 6 Jan 2011 08:46:42 +0100 Subject: [PATCH] tools: don't leak the GMainLoop --- tools/gst-discoverer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/gst-discoverer.c b/tools/gst-discoverer.c index 2182c0f..6a18f40 100644 --- a/tools/gst-discoverer.c +++ b/tools/gst-discoverer.c @@ -483,6 +483,7 @@ main (int argc, char **argv) gst_discoverer_stop (dc); g_free (ps); + g_main_loop_unref (ml); } g_object_unref (dc); -- 2.7.4