bug-bash
[Top][All Lists]
Advanced

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

Re: [PATCH] Memory leak in locale.c set_default_locale


From: Chet Ramey
Subject: Re: [PATCH] Memory leak in locale.c set_default_locale
Date: Thu, 8 Jun 2017 10:30:34 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.1.1

On 6/8/17 10:24 AM, dualbus wrote:

> After a closer reading, I think the Address Sanitizer is complaining
> about bash's local copy (the one created with `savestring`) not being
> released.
> 
> It's not a real issue, but it makes running the tests with ASAN a bit
> less useful.

That would be strange behavior.  If it complains about that, why doesn't it
complain about all memory that bash holds onto but doesn't free before it
exits?


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



reply via email to

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