Mailinglist Archive: opensuse-bugs (5190 mails)

< Previous Next >
[Bug 525434] New: htop-0.8.3-1.1: possible memory leak
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Mon, 27 Jul 2009 04:23:01 -0600
  • Message-id: <bug-525434-21960@xxxxxxxxxxxxxxxxxxxxxxxx/>
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@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: dcb314@xxxxxxxxxxx
QAContact: qa@xxxxxxx
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.

< Previous Next >
Follow Ups