mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
videomixer: Fix memory leak in unit test
This commit is contained in:
parent
b21b46a07a
commit
cd4c17031b
1 changed files with 2 additions and 0 deletions
|
@ -1019,6 +1019,8 @@ GST_START_TEST (test_flush_start_flush_stop)
|
|||
|
||||
/* cleanup */
|
||||
gst_element_set_state (pipeline, GST_STATE_NULL);
|
||||
gst_object_unref (sinkpad1);
|
||||
gst_object_unref (sinkpad2);
|
||||
gst_object_unref (pipeline);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue