mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-17 01:20:19 +00:00
compositor: tests: Fix pad leak
Remember to unref requested pad
This commit is contained in:
parent
256e843e30
commit
1004f8d8ea
1 changed files with 1 additions and 0 deletions
|
@ -1029,6 +1029,7 @@ GST_START_TEST (test_flush_start_flush_stop)
|
||||||
|
|
||||||
/* cleanup */
|
/* cleanup */
|
||||||
gst_element_set_state (compositor, GST_STATE_NULL);
|
gst_element_set_state (compositor, GST_STATE_NULL);
|
||||||
|
gst_object_unref (sinkpad1);
|
||||||
gst_object_unref (compositor);
|
gst_object_unref (compositor);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue