rtpmux: release pads when disposing
authorHåvard Graff <havard.graff@tandberg.com>
Wed, 9 Dec 2009 13:42:21 +0000 (14:42 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 9 Dec 2009 13:47:00 +0000 (14:47 +0100)
commit97ef05cbac937766a9e9aa425593d1b8c506723d
tree6566b88925609194d8624f8b4a128c489de8b6b1
parentb6781016117be92cb05f0fabf6cff66463166a4f
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/rtpmux/gstrtpmux.c