Re: Question on use of free() in parser.c

On Thu, 14 Oct 1999, Terry Teague wrote:

> Dear Dave,
> 
> While porting the 27 Sep 99 version of Tidy, I noticed that in
> parser.c, you use free() rather than MemFree().
> 
> Specifically, lines #149, #884.
> 
> Is there a good reason why these calls should not be MemFree()?
> I prefer to bottleneck the memory management calls through
> MemAlloc()/MemFree() etc, for debugging and tracking purposes.
> 
> I made the changes in my code, and it still seems to work fine.
 
Thanks for spotting this.

Regards,

-- Dave Raggett <dsr@w3.org> http://www.w3.org/People/Raggett
phone: +44 122 578 2984 (or 2521) +44 385 320 444 (gsm mobile)
World Wide Web Consortium (on assignment from HP Labs)

Received on Monday, 18 October 1999 08:03:25 UTC