mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 19:42:26 +00:00
compositor: tests: Fix pad leak
Remember to unref requested pad
This commit is contained in:
parent
b1c00adfd7
commit
5d0564eb4e
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue