Commit 5d0564eb authored by Thiago Santos's avatar Thiago Santos

compositor: tests: Fix pad leak

Remember to unref requested pad
parent b1c00adf
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment