tests: Fix invalid read when releasing request pads in funnel tests

This commit is contained in:
Mike Ruprecht 2012-05-29 19:24:25 -05:00 committed by Olivier Crête
parent 18a73b8ef2
commit 5e76a19566

View file

@ -93,10 +93,10 @@ release_test_objects (struct TestData *td)
GST_STATE_CHANGE_SUCCESS);
gst_object_unref (td->funnelsrc);
gst_object_unref (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_object_unref (td->funnelsink22);
gst_caps_unref (td->mycaps);
gst_object_unref (td->funnel);