bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: little memory lost??


From: Andrew Clausen
Subject: Re: little memory lost??
Date: Wed, 18 Dec 2002 07:18:35 +1100
User-agent: Mutt/1.4i

On Tue, Dec 17, 2002 at 01:25:37PM +0100, Jordi wrote:
> maybe i'm wrong but i think that in the function linux.c :: strip_name a 
> little of memory is lost as the memory is not freed just left out of the char 
> *.

It is the responsibility of the caller of strip_name() to free() the
string returned by strip_name().

Cheers,
Andrew




reply via email to

[Prev in Thread] Current Thread [Next in Thread]