Swapnil Hajela <[EMAIL PROTECTED]> writes: > realloc(ptr,0) is the same as free(ptr).
Hmm., I'm not sure its like that. That behaviour is usually undefined. Even if some implementations free the pointer., its not necessary to be so all the time. Dont have a ISO C99 doc to check it right away. -- A proud GNU user http://www.joesteeve.tk/ | http://gnukid.shyper.com/
pgptbcA8yT1nX.pgp
Description: PGP signature
