rtpmux: release pads when disposing
authorHåvard Graff <havard.graff@tandberg.com>
Wed, 9 Dec 2009 13:42:21 +0000 (14:42 +0100)
committerTim-Philipp Müller <tim@centricular.net>
Sun, 16 Dec 2012 16:33:46 +0000 (16:33 +0000)
commiteab65e84ca1b9fed585dc222254e55fa4c0bf41b
tree444e447fb0a991606691455226b9f6174099c08c
parent0d54122804355b63abcc5e2105995d185921f480
rtpmux: release pads when disposing

Because of an allocated priv (GstRTPMuxPadPrivate), the element will
leak memory if not gst_rtp_mux_release_pad() is called. This would
previously only happen if release_request_pad() was called explicitly,
somthing that should not be neccesary.

Fixes #604099
gst/rtpmanager/gstrtpmux.c