mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
tests: Fix invalid read when releasing request pads in funnel tests
This commit is contained in:
parent
18a73b8ef2
commit
5e76a19566
1 changed files with 2 additions and 2 deletions
|
@ -93,10 +93,10 @@ release_test_objects (struct TestData *td)
|
||||||
GST_STATE_CHANGE_SUCCESS);
|
GST_STATE_CHANGE_SUCCESS);
|
||||||
|
|
||||||
gst_object_unref (td->funnelsrc);
|
gst_object_unref (td->funnelsrc);
|
||||||
gst_object_unref (td->funnelsink11);
|
|
||||||
gst_element_release_request_pad (td->funnel, td->funnelsink11);
|
gst_element_release_request_pad (td->funnel, td->funnelsink11);
|
||||||
gst_object_unref (td->funnelsink22);
|
gst_object_unref (td->funnelsink11);
|
||||||
gst_element_release_request_pad (td->funnel, td->funnelsink22);
|
gst_element_release_request_pad (td->funnel, td->funnelsink22);
|
||||||
|
gst_object_unref (td->funnelsink22);
|
||||||
|
|
||||||
gst_caps_unref (td->mycaps);
|
gst_caps_unref (td->mycaps);
|
||||||
gst_object_unref (td->funnel);
|
gst_object_unref (td->funnel);
|
||||||
|
|
Loading…
Reference in a new issue