mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-19 05:45:58 +00:00
tests: audiomixer: fix leaks in unit test
This commit is contained in:
parent
9854d5151a
commit
6f6c73b223
1 changed files with 2 additions and 0 deletions
|
@ -1836,6 +1836,7 @@ GST_START_TEST (test_change_output_caps)
|
|||
}
|
||||
}
|
||||
gst_buffer_unmap (handoff_buffer, &outmap);
|
||||
gst_clear_buffer (&handoff_buffer);
|
||||
|
||||
gst_element_release_request_pad (audiomixer, sinkpad);
|
||||
gst_object_unref (sinkpad);
|
||||
|
@ -1973,6 +1974,7 @@ GST_START_TEST (test_change_output_caps_mid_output_buffer)
|
|||
}
|
||||
|
||||
gst_buffer_unmap (handoff_buffer, &outmap);
|
||||
gst_clear_buffer (&handoff_buffer);
|
||||
|
||||
gst_element_release_request_pad (audiomixer, sinkpad);
|
||||
gst_object_unref (sinkpad);
|
||||
|
|
Loading…
Reference in a new issue