[Bug 546020] New: barcode-0.98-460.1: memory leak
http://bugzilla.novell.com/show_bug.cgi?id=546020 Summary: barcode-0.98-460.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 barcode-0.98-460.1 source code file barcode-0.98/code93.c function Barcode_93_encode local variable is checksum_str I notice the following code checksum_str = (int *)malloc( (strlen(text) + 3) * 2 * sizeof(int)); but I fail to notice a 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=546020
Michal Seben
http://bugzilla.novell.com/show_bug.cgi?id=546020
User marek.belisko@open-nandra.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=546020#c1
Marek Belisko
http://bugzilla.novell.com/show_bug.cgi?id=546020
User mseben@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=546020#c2
--- Comment #2 from Michal Seben
http://bugzilla.novell.com/show_bug.cgi?id=546020
User rguenther@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=546020#c3
--- Comment #3 from Richard Guenther
http://bugzilla.novell.com/show_bug.cgi?id=546020
http://bugzilla.novell.com/show_bug.cgi?id=546020#c4
Michal Seben
participants (1)
-
bugzilla_noreply@novell.com