gstfunnel: avoid access of freed pad
authorDavid Svensson Fors <davidsf@axis.com>
Tue, 12 Jun 2012 11:26:35 +0000 (13:26 +0200)
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Thu, 14 Jun 2012 13:10:22 +0000 (14:10 +0100)
commit066b515985897495cae32fca5b7eeeec260c40c9
tree44a0b5f8e8ebbf6390701cc7690c3154173dd17c
parentc65eebe28cb8d397c8cd3d2a7218221d25b9c4b2
gstfunnel: avoid access of freed pad

Save the value of the pad's got_eos in gst_funnel_release_pad,
before calling gst_element_remove_pad. This is because
gst_element_remove_pad may free the pad.

https://bugzilla.gnome.org/show_bug.cgi?id=678017
plugins/elements/gstfunnel.c