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 650912 - Rare leak in qtdemux
Rare leak in qtdemux
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: 0.10.31
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-05-23 21:34 UTC by Jonas Larsson
Modified: 2011-06-15 22:43 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch for the leak (497 bytes, patch)
2011-05-23 21:34 UTC, Jonas Larsson
committed Details | Review

Description Jonas Larsson 2011-05-23 21:34:05 UTC
Created attachment 188422 [details] [review]
Patch for the leak

For some incomplete/corrupted files a GstBuffer is possibly leaked. I think a call to gst_buffer_unref is missing, see attached patch.

("This file is incomplete and cannot be played.\nWe got less than expected ..."
Comment 1 Sebastian Dröge (slomo) 2011-05-24 07:49:46 UTC
commit 090e3a6f41c0016bf7d96c93970a6ebd0224603f
Author: Jonas Larsson <jonas.larsson@hiq.se>
Date:   Tue May 24 09:48:56 2011 +0200

    qtdemux: Fix buffer leak with corrupted files
    
    Fixes bug #650912.