nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] 1.0.8 Memory leaks . . . and fixes


From: Rocco Corsi
Subject: Re: [Nano-devel] 1.0.8 Memory leaks . . . and fixes
Date: Mon, 25 Mar 2002 00:08:48 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2.1) Gecko/20010901

Chris Allegretta wrote:

On Sun, Mar 24, 2002 at 06:50:29PM -0500, Rocco Corsi wrote:

For 1.1 YES.  For 1.0 that is up to you, but I think it should be applied.


Hi Rocco,

        Committed and credited in both trees.  Can you take a look at
how the 1.0 tree looks though; since the diff didn't apply properly I
sort of shoved it in there by hand.  I also had to change the charalloc
call to an nmalloc * sizeof(char *).  I hope it will work without the
memory being initialized.  Please let me know if not.


Change for nmalloc() instead of charalloc() should be OK. I did tests at one point if the buffer had garbage and it was fine.

I just compiled 1.0 and tested it.  It looks good.

Rocco




reply via email to

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