Inconsistent use of allocator wrapper macros in libiberty

2008-07-31 Thread Aaron W. LaFramboise
Quite a few files in libiberty use XNEWVEC as a replacement for 
malloc(), but the they are being paired with plain free(); XDELVEC is 
not being used.


Is there some reason for the inconsistency, such as some transitional 
issue, or should this be fixed?


Re: Inconsistent use of allocator wrapper macros in libiberty

2008-07-31 Thread DJ Delorie

> Is there some reason for the inconsistency,

Not really.  Patches welcome.