[Request] free's should set ptr to null?

Hi,

I know HT_FREE sets the passed ptr to NULL, could this be done
for all the other free functions (like HTGuess_free etc) too?
I guess you'd still get the same old segmentation faults (or
whatever the Windows equivalent is - MSsegfault?) but it would
tighten things up a bit, and would provide a way of testing
whether your object was really freed (there may be circumstances
under which a free should not free).

Free at last,

Sacha.

Received on Friday, 21 June 1996 06:45:00 UTC