[Bug 525434] New: htop-0.8.3-1.1: possible memory leak
http://bugzilla.novell.com/show_bug.cgi?id=525434 Summary: htop-0.8.3-1.1: 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 htop-0.8.3-1.1 For source code file htop-0.8.3/plpa-1.1/src/plpa_map.c around line 310 is the source code for the function load_cache. I notice the following line of code cores_on_sockets = malloc(sizeof(PLPA_NAME(cpu_set_t)) * (max_socket_id + 1)); but no matching call to free. This looks like a memory leak to me. Suggest code rework. -- 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=525434
Dirk Mueller
http://bugzilla.novell.com/show_bug.cgi?id=525434
User rguenther@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=525434#c1
--- Comment #1 from Richard Guenther
http://bugzilla.novell.com/show_bug.cgi?id=525434
User prusnak@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=525434#c2
Pavol Rusnak
participants (1)
-
bugzilla_noreply@novell.com