[Bug 546486] New: glabels-2.2.5-2.7: memory leak
http://bugzilla.novell.com/show_bug.cgi?id=546486 Summary: glabels-2.2.5-2.7: 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 glabels-2.2.5-2.7 source code file glabels-2.2.5/barcode-0.98/code93.c function Barcode_93_encode I notice the following code checksum_str = (int *)malloc( (strlen(text) + 3) * 2 * sizeof(int)); but I fail to notice any matching call to free. This looks like a memory leak to me. Suggest add call to free near the end of the routine. -- 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=546486
zhu rensheng
http://bugzilla.novell.com/show_bug.cgi?id=546486
User rguenther@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=546486#c1
--- Comment #1 from Richard Guenther
http://bugzilla.novell.com/show_bug.cgi?id=546486
User prusnak@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=546486#c2
Pavol Rusnak
participants (1)
-
bugzilla_noreply@novell.com