efree() and NULL
| From: | Andrei Zmievski | Date: | Mon, 14 May 2001 13:00:21 +0000 |
| Subject: | efree() and NULL | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-55158@lists.php.net to get a copy of this message | ||
It doesn't seem that efree() is equivalent to free() as far operating on
NULL pointers. If ptr == NULL, free(ptr) is a no-op, but efree() will
probably barf on it.. Can we make them equivalent?
-Andrei
Documentation is worth it just to be able
to answer all your mail with 'RTFM'. -- Alan Cox