summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2011-01-06 08:46:42 +0100
committerEdward Hervey <bilboed@bilboed.com>2011-01-06 08:48:03 +0100
commitb40c0b875cbddf30c0c318350cae59f6cad6dfc7 (patch)
tree8fdf679d0e9b5102340072acc21a8bea010edfb5 /tools
parent8dc70c76b454361472c32108a242646a63a82e36 (diff)
tools: don't leak the GMainLoop
Diffstat (limited to 'tools')
-rw-r--r--tools/gst-discoverer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/gst-discoverer.c b/tools/gst-discoverer.c
index 2182c0f0c..6a18f407b 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);