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@[]>
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 UTC

This archive was generated by hypermail 2.3.1 : Friday, 13 July 2018 08:58:58 UTC