compositor: tests: Fix pad leak
authorThiago Santos <ts.santos@sisa.samsung.com>
Sat, 28 Jun 2014 12:43:48 +0000 (09:43 -0300)
committerThiago Santos <ts.santos@sisa.samsung.com>
Sat, 28 Jun 2014 12:44:22 +0000 (09:44 -0300)
Remember to unref requested pad

tests/check/elements/compositor.c

index 20b1c39..9ef52ba 100644 (file)
@@ -1029,6 +1029,7 @@ GST_START_TEST (test_flush_start_flush_stop)
 
   /* cleanup */
   gst_element_set_state (compositor, GST_STATE_NULL);
+  gst_object_unref (sinkpad1);
   gst_object_unref (compositor);
 }