[Bug 546806] New: icewm-1.2.38-2.1: memory leak
http://bugzilla.novell.com/show_bug.cgi?id=546806 Summary: icewm-1.2.38-2.1: memory leak Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: All OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dcb314@hotmail.com QAContact: qa@suse.de Found By: --- I just had a look at factory package icewm-1.2.38-2.1 source code file icewm-1.2.38pre1/src/icehelp.cc function parse I notice the following code buf = (char *)realloc(buf, ++len); but I fail to notice a matching call to free in the following code if (parent) { close = type; //puts("</PARSE>"); return f; } Suggest new code if (parent) { close = type; //puts("</PARSE>"); free( buf); return f; } -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=546806
zhu rensheng
http://bugzilla.novell.com/show_bug.cgi?id=546806
Michal Marek
http://bugzilla.novell.com/show_bug.cgi?id=546806
User sts301@opensuse.org added comment
http://bugzilla.novell.com/show_bug.cgi?id=546806#c1
--- Comment #1 from Sebastian Schöbinger
http://bugzilla.novell.com/show_bug.cgi?id=546806
User rguenther@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=546806#c2
--- Comment #2 from Richard Guenther
http://bugzilla.novell.com/show_bug.cgi?id=546806
User prusnak@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=546806#c3
Pavol Rusnak
participants (1)
-
bugzilla_noreply@novell.com