[cfe-dev] Missing 'free()' in StringMapImpl

Hironobu TAKEI hironobu_takei at zipc.com
Fri May 20 02:49:05 PDT 2011


Oops...
I do find it. Thanks and sorry for the noise :-)


At 20 May 2011 11:28:27 +0200 Benjamin Kramer wrote:
> 
> On 20.05.2011, at 11:21, Hironobu TAKEI wrote:
> 
> > Hi!
> > 
> > I wonder what list I've to tell (llvm-dev?), but ...
> > 
> > StringMapImpl::init() calls 'calloc()',
> > but I can't find any 'free()' that should be paired.
> > Missing?
> 
> It's free'd in the destructor of StringMap
(include/llvm/ADT/StringMap.h:418).
> 


=====================================================================
 Hironobu TAKEI @ CATS Co.,Ltd. System Div.
 KAWAASA BLDG. 2-11-5 Shin-Yokohama Kohoku, Yokohama 222-0033 Japan.
 http://www.zipc.com TEL: +81-45-473-2088 FAX: +81-45-473-2689



More information about the cfe-dev mailing list