]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/gstreamer0-10.git/commitdiff
tests: gstsystemclock: don't leak the system clock
authorEdward Hervey <bilboed@bilboed.com>
Wed, 7 Apr 2010 07:31:39 +0000 (09:31 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Wed, 7 Apr 2010 07:31:39 +0000 (09:31 +0200)
tests/check/gst/gstsystemclock.c

index 712e39466041e6be14263dca3f0a535403d93f14..40c9947ffd9d970e372f4cce71a398dcab95d59b 100644 (file)
@@ -251,6 +251,8 @@ GST_START_TEST (test_periodic_shot)
   gst_clock_id_unref (id);
   gst_clock_id_unschedule (id2);
   gst_clock_id_unref (id2);
+
+  gst_object_unref (clock);
 }
 
 GST_END_TEST;