bug-bash
[Top][All Lists]
Advanced

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

Re: String replacements leak small amounts of memory each time


From: Chet Ramey
Subject: Re: String replacements leak small amounts of memory each time
Date: Tue, 22 Jun 2010 21:49:50 -0400
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.7) Gecko/20100111 Lightning/1.0b1 Thunderbird/3.0.1

On 6/22/10 6:57 PM, Matthew Woehlke wrote:

> No question something bad is going on here.

You're right.  I found and fixed it.  It wasn't where I was looking
initially.  The fix will be in the next bash release and may come out
as a patch.

> Also, when run under valgrind, I see a number of leaks with block count
> exactly equal to the number of lines processed.

Interesting, since I didn't get these valgrind results.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/



reply via email to

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