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

Benjamin Kramer benny.kra at googlemail.com
Fri May 20 02:28:27 PDT 2011


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).





More information about the cfe-dev mailing list