[gstreamer-bugs] [Bug 560644] New: ffmpegdec leaks memory when gst_ffmpegdec_open is not called
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Thu Nov 13 06:11:32 PST 2008
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=560644
GStreamer | gst-ffmpeg | Ver: 0.10.5
Summary: ffmpegdec leaks memory when gst_ffmpegdec_open is not
called
Product: GStreamer
Version: 0.10.5
Platform: Other
OS/Version: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-ffmpeg
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: sh.yotam at gmail.com
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME version: Unspecified
GNOME milestone: Unspecified
Please describe the problem:
Memory leaks from any ffmpeg decoder element which is created via the GStreamer
element factory but not set into an actual pipeline and have its setcaps
function called (for example).
Steps to reproduce:
1. Create an element of any ffmpeg decoder element
2. Don't link it anywhere or set it to a different state
3. Unref the element
Actual results:
Memory leaks on the allocation of ffmpegdec->context and ffmpegdec->picture.
Expected results:
Does this happen every time?
Other information:
The problem is that the memory allocation is not parallel to the de-allocation
(and relying on the ffmpegdec->opened flag is wrong).
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=560644.
More information about the Gstreamer-bugs
mailing list