W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 1999

Question on use of free() in parser.c

From: Terry Teague <teague@mailandnews.com>
Date: Thu, 14 Oct 1999 23:41:30 -0700
Message-Id: <l03130300b42c7c6fb208@[17.219.105.230]>
To: html-tidy@w3.org
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.

Regards, Terry
Received on Friday, 15 October 1999 02:42:26 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:42 GMT