tests: fix buffer leak in queue2 unit test
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Thu, 24 May 2012 12:06:47 +0000 (13:06 +0100)
committerTim-Philipp Müller <tim@centricular.net>
Wed, 12 Sep 2012 11:33:51 +0000 (12:33 +0100)
tests/check/elements/queue2.c

index c03ca1d..af04020 100644 (file)
@@ -260,6 +260,7 @@ GST_START_TEST (test_filled_read)
   gst_object_unref (sinkpad);
   gst_object_unref (srcpad);
   gst_object_unref (queue2);
+  gst_buffer_unref (buffer);
 }
 
 GST_END_TEST;