tools: don't leak the GMainLoop
authorEdward Hervey <bilboed@bilboed.com>
Thu, 6 Jan 2011 07:46:42 +0000 (08:46 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Thu, 6 Jan 2011 07:48:03 +0000 (08:48 +0100)
tools/gst-discoverer.c

index 2182c0f..6a18f40 100644 (file)
@@ -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);