compositor: tests: Fix pad leak

Remember to unref requested pad
This commit is contained in:
Thiago Santos 2014-06-28 09:43:48 -03:00
parent 256e843e30
commit 1004f8d8ea

View 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);
}