[gstreamer-bugs] [Bug 509559] New: [gstinfo]_gst_debug_init() memory leak
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Mon Jan 14 23:46:26 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=509559
GStreamer | gstreamer (core) | Ver: 0.10.16
Summary: [gstinfo]_gst_debug_init() memory leak
Product: GStreamer
Version: 0.10.16
Platform: Other
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gstreamer (core)
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: e3423c at motorola.com
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME version: Unspecified
GNOME milestone: Unspecified
gst debug has no deinit() funtion, if application invokes
while()
{
gst_init()
gst_deinit()
}
It will cause _gst_debug_init() memory leak and multiple output per log.
In gst_init(), it invokes _gst_debug_init(), but _gst_debug_init() has no check
for "initalized", it will new many debug categories every time, that will cause
memory leak, and after that, if we want to output a log, this log will be
printed many times.
Changed files:
gst/gstinfo.c
Motorola would like to contribute gstreamer patch to the gstreamer open source
community project. Please find attached the patch applicable for gstreamer. For
any questions, please feel free to contact (Zhao Liang "e3423c at motorola.com",
Shi Ling "w20230 at motorola.com").
--
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=509559.
More information about the Gstreamer-bugs
mailing list