Re: Dynamic Memory

On Fri, 14 Jun 1996, Sacha wrote:

> 
> Hi,
> 
> I noticed that in HTProt.c and HTChunk.c there are some calls
> to malloc, realloc and (I think) calloc. I have changed these
> to HT_REALLOC etc. Is tehre a good reason to bypass the
> HTMemory functions in those files?

I checked the current source for HTChunk (2.21 1996/04/12) and HTProt 
(2.15 1996/04/12) and didn't see any refs to alloc.

> There's also some funky stuff going down in HTWAIS.c, but since
> I don't use WAIS I didn't bother changing it.

HTWAIS does indeed have funky stuff going down. I declined to attack that 
problem because it is seperatly maintained. It was also more funky than I 
wanted to figure out at the time. I will probably have to tackle that at 
wome point.

-eric

Received on Friday, 14 June 1996 18:39:54 UTC