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 515815 - [mpegvideoparse] fix a few new memory leaks
[mpegvideoparse] fix a few new memory leaks
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal blocker
: 0.10.6
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-02-11 17:09 UTC by Wim Taymans
Modified: 2008-02-12 10:57 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch to fix memleaks (1.57 KB, patch)
2008-02-11 17:21 UTC, Wim Taymans
accepted-commit_now Details | Review

Description Wim Taymans 2008-02-11 17:09:50 UTC
A patch with simple memleak fixes follows.
Comment 1 Wim Taymans 2008-02-11 17:21:57 UTC
Created attachment 104961 [details] [review]
patch to fix memleaks

- Fix leaking caps
- Fix leaking a buffer in forward mode
- Clear buffers when going to READY
Comment 2 Wim Taymans 2008-02-12 10:57:33 UTC
        * gst/mpegvideoparse/mpegvideoparse.c:
        (mpegvideoparse_handle_sequence), (mpegvideoparse_drain_avail),
        (gst_mpegvideoparse_change_state):
        Fix leaking caps.
        Fix potential buffer leak in forward mode.
        Cleanup queues when going to READY. Fixes #515815.