On 1/30/17 2:34 PM, Bruce Dubbs wrote:

>> xmalloc is a malloc wrapper, and `temp' is the return value from the
>> function.
> 
> Yes, I know.  The issue is that the caller, in this case set_default_locale
> or possibly main, never runs free on the allocated space.  I tried to trace
> it in set_default_locale but there are a lot of paths and I didn't follow
> it all.  I'll look some more and get back to you.

Look at the link I included in my first reply; it explains the
set_default_locale/setlocale issue.

Chet

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

Reply via email to