|
From: <or...@vp...> - 2004-01-10 16:40:02
|
Siva Chandra wrote: > firstly, thanx Daniel and Oroszi "Balázs" - that's my firstname, written at second place (we Hungarians are "crazy" people - or maybe everyone else is, except us? :D > for the descriptive > replyies. I have always thought free(ptr) would put > ptr to NULL. I think you cannot even assume that anywhere. The docs of free() only tell you, that the memory is freed. However, maybe it's a documentation "bug", it doesn't state explicitly that free() is NOT GUARANTEED to put NULL to the deallocated memory (probably because of performance reasons). -- Greetings, Balázs |