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 607285 - cdxaparse leaks memory
cdxaparse leaks memory
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
unspecified
Other Linux
: Normal normal
: 0.10.18
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-01-18 09:46 UTC by Fasihullah Askiri
Modified: 2010-01-18 10:09 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch file to fix the memory leak (1.34 KB, patch)
2010-01-18 10:06 UTC, Fasihullah Askiri
none Details | Review

Description Fasihullah Askiri 2010-01-18 09:46:15 UTC
Steps to reproduce:

gst-launch-0.10 -T  filesrc location=random-clip.dat ! cdxaparse ! fakesink

GstObject              : 951
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Got EOS from element "pipeline0".
Execution ended after 465403294 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
FREEING pipeline ...
GstMiniObject          : 19609
GstObject              : 23


19609 have leaked
Comment 1 Sebastian Dröge (slomo) 2010-01-18 09:58:57 UTC
This should fix it:

commit b263ae123c73386ec3c5674e9b5faf6c39c7c689
Author: Sebastian Dröge <sebastian.droege@collabora.co.uk>
Date:   Mon Jan 18 10:57:42 2010 +0100

    cdxaparse: Fix buffer leak
    
    Fixes bug #607285.
Comment 2 Fasihullah Askiri 2010-01-18 10:06:55 UTC
Created attachment 151657 [details] [review]
Patch file to fix the memory leak