Re: [Patch]Documentation/vm/slabinfo.c: clean up this code

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Christoph Lameter <clameter@...>
Cc: WANG Cong <xiyou.wangcong@...>, LKML <linux-kernel@...>, Andrew Morton <akpm@...>, <linux-mm@...>
Date: Friday, October 5, 2007 - 9:21 pm

On Fri, Oct 05, 2007 at 12:17:41PM -0700, Christoph Lameter wrote:

Yes, it's of course in user space. But there really exists memory leaks,
since strdup(3) uses malloc(3) to allocate memory for new string, we
should use free(3) to free the memory, or this memory will be lost.

Regards. ;)


WANG Cong

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [Patch]Documentation/vm/slabinfo.c: clean up this code, Christoph Lameter, (Fri Oct 5, 3:17 pm)
Re: [Patch]Documentation/vm/slabinfo.c: clean up this code, WANG Cong, (Fri Oct 5, 9:21 pm)