encodebin: fix caps leak in test

https://bugzilla.gnome.org/show_bug.cgi?id=776797
This commit is contained in:
Guillaume Desmottes 2017-01-02 15:12:47 +01:00 committed by Sebastian Dröge
parent f939f05304
commit b8c78c87d2

View file

@ -1107,6 +1107,7 @@ GST_START_TEST (test_encodebin_fallback_profiles_on_failure)
_caps_match (sinkpad, "audio/x-raw;audio/x-vorbis");
gst_element_release_request_pad (ebin, sinkpad);
gst_object_unref (sinkpad);
gst_caps_unref (vorbiscaps);
gst_object_unref (ebin);
};