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 448782 - add finalize() to amrnbdec element
add finalize() to amrnbdec element
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-ugly
git master
Other Linux
: Normal normal
: 0.10.7
Assigned To: Wim Taymans
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-06-18 13:50 UTC by Laurent Glayal
Modified: 2007-06-19 14:16 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
add finalize() function to clear adapter (1.48 KB, patch)
2007-06-18 13:50 UTC, Laurent Glayal
none Details | Review

Description Laurent Glayal 2007-06-18 13:50:10 UTC
Hi,
patch to add finalize() function to amrnbdec element and avoid memleak due to GstAdapter not freed.
Regards
Comment 1 Laurent Glayal 2007-06-18 13:50:52 UTC
Created attachment 90206 [details] [review]
add finalize() function to clear adapter
Comment 2 Wim Taymans 2007-06-19 14:16:34 UTC
        Patch by: Laurent Glayal <spglegle at yahoo dot fr>

        * ext/amrnb/amrnbdec.c: (gst_amrnbdec_class_init),
        (gst_amrnbdec_finalize):
        Don't leak the adapter, unref it in a new finalize method instead.
        Fixes #448782.