[Bug 547909] New: metamail-2.7.19-1246.1: memory leak
http://bugzilla.novell.com/show_bug.cgi?id=547909 Summary: metamail-2.7.19-1246.1: memory leak Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: All OS/Version: openSUSE 11.2 Status: NEW Severity: Minor 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 metamail-2.7.19-1246.1 source code file metamail-2.7-19/metamail/metamail.c function ExecuteMailcapEntry I notice the following code cmd = malloc(CMDSIZE); if (!cmd) ExitWithError(nomem); if (PrintingMode && !mc.printcommand) return(-1); so if the return is taken, then cmd is a memory leak. Suggest new code if (PrintingMode && !mc.printcommand) return(-1); cmd = malloc(CMDSIZE); if (!cmd) ExitWithError(nomem); -- 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=547909
Andreas Jaeger
http://bugzilla.novell.com/show_bug.cgi?id=547909
User rguenther@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=547909#c1
--- Comment #1 from Richard Guenther
http://bugzilla.novell.com/show_bug.cgi?id=547909
User werner@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=547909#c2
Dr. Werner Fink
participants (1)
-
bugzilla_noreply@novell.com