[Bug 542360] New: sblim-sfcb-1.3.2-20.8: two memory leaks
http://bugzilla.novell.com/show_bug.cgi?id=542360 Summary: sblim-sfcb-1.3.2-20.8: two memory leaks 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 sblim-sfcb-1.3.2-20.8 1. For source code file sblim-sfcb-1.3.2/sfcbdump.c around line 360, function dumpProperties is the following code prefixbuf = malloc(strlen(prefix) + strlen(" -- Property[999]:") + 2); but I fail to notice a matching call to free. This looks like a memory leak to me. Suggest add call to free. 2. Same source code file, function dumpMethods, line 430, same local variable name prefixbuf. -- 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=542360
Marcus Meissner
http://bugzilla.novell.com/show_bug.cgi?id=542360
User rguenther@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=542360#c1
--- Comment #1 from Richard Guenther
http://bugzilla.novell.com/show_bug.cgi?id=542360
User bwhiteley@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=542360#c2
Bart Whiteley
participants (1)
-
bugzilla_noreply@novell.com