check: Fix leak in queue2 test
authorEdward Hervey <edward@centricular.com>
Mon, 28 Nov 2016 08:50:40 +0000 (09:50 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Mon, 28 Nov 2016 13:02:23 +0000 (14:02 +0100)
tests/check/elements/queue2.c

index 6087569..7a4fc5c 100644 (file)
@@ -371,6 +371,7 @@ GST_START_TEST (test_watermark_and_fill_level)
 
   gst_element_set_state (pipe, GST_STATE_NULL);
   gst_object_unref (pipe);
+  gst_object_unref (inputpad);
 }
 
 GST_END_TEST;