After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 604099 - rtpmux: Make sure to call release_pad() when the element is disposed
rtpmux: Make sure to call release_pad() when the element is disposed
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other All
: Normal normal
: 0.10.18
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-12-08 17:24 UTC by Håvard Graff (hgr)
Modified: 2009-12-09 13:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (3.75 KB, patch)
2009-12-08 17:24 UTC, Håvard Graff (hgr)
none Details | Review

Description Håvard Graff (hgr) 2009-12-08 17:24:18 UTC
Created attachment 149358 [details] [review]
patch

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.
Comment 1 Wim Taymans 2009-12-09 13:47:44 UTC
commit 97ef05cbac937766a9e9aa425593d1b8c506723d
Author: Håvard Graff <havard.graff@tandberg.com>
Date:   Wed Dec 9 14:42:21 2009 +0100

    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