example: unref the clock id
authorStefan Kost <ensonic@users.sf.net>
Tue, 21 Jul 2009 08:14:20 +0000 (11:14 +0300)
committerStefan Kost <ensonic@users.sf.net>
Thu, 6 Aug 2009 12:30:32 +0000 (15:30 +0300)
tests/examples/controller/audio-example.c

index 544152c..f5b2774 100644 (file)
@@ -104,6 +104,7 @@ main (gint argc, gchar ** argv)
 
   /* cleanup */
   g_object_unref (G_OBJECT (ctrl));
+  gst_clock_id_unref (clock_id);
   gst_object_unref (G_OBJECT (clock));
   gst_object_unref (G_OBJECT (bin));
   res = 0;