[Bug 523432] New: bochs-2.2.1-256.11: 2 * possible memory leak
http://bugzilla.novell.com/show_bug.cgi?id=523432 Summary: bochs-2.2.1-256.11: 2 * possible 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 bochs-2.2.1-256.11 For source code bochs-2.2.1/misc/bxcommit.c, around line 353 is the source code for the function commit_redolog. I notice a call to malloc for local variables catalog and bitmap, but no matching calls to free. This looks like a memory leak to me. Suggest add two calls 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=523432 Marcus Meissner <meissner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |uli@novell.com |ovo.novell.com | -- 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=523432 User rguenther@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=523432#c1 --- Comment #1 from Richard Guenther <rguenther@novell.com> 2009-10-17 08:54:32 MDT --- David, in case the issues are not introduced by a patch local to openSUSE please report the issues upstream. Packagers, please do not add openSUSE-local patches to fix this kind of errors but forward the bugs upstream and close the bugs as RESOLVED UPSTREAM. Note that it is perfectly fine to have "resource leaks" at the end of a program as the kernel will clean up for you. Manually freeing them only increases binary size and runtime. -- 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=523432 http://bugzilla.novell.com/show_bug.cgi?id=523432#c2 Ulrich Hecht <uli@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |UPSTREAM --- Comment #2 from Ulrich Hecht <uli@novell.com> 2010-08-04 16:32:46 UTC --- This issue is in the upstream code even as of version 2.4.5. Needs to be fixed there. -- 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.
participants (1)
-
bugzilla_noreply@novell.com