fakesink: fix pipeline leak in test
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 2 May 2016 06:29:00 +0000 (08:29 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 3 May 2016 08:02:47 +0000 (11:02 +0300)
https://bugzilla.gnome.org/show_bug.cgi?id=765903

tests/check/elements/fakesink.c

index d82189cb24f3ce7dd4fd0c3657e567c1014e520a..0f811b1a19c4029fba0d805dc3a27d35ddf122b1 100644 (file)
@@ -1071,6 +1071,8 @@ GST_START_TEST (test_last_message_notify)
 
   fail_unless_equals_int (counter1, NUM_BUFFERS);
   fail_unless_equals_int (counter2, NUM_BUFFERS);
+
+  gst_object_unref (pipe);
 }
 
 GST_END_TEST;