memleak in string.c?
| From: | Ari Pollak | Date: | Thu, 26 Dec 2002 19:28:55 +0000 |
| Subject: | memleak in string.c? | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-92844@lists.php.net to get a copy of this message | ||
/home/ari/php-4.3.0RC4/ext/standard/string.c(1350) : Freeing 0x08D0D354
(29 bytes),
script=/home/alienhosting/public_html/webmail/src/read_body.php
This seems to happen a lot when using SquirrelMail with php 4.3.0RC4,
and AFAIK did not happen with 4.2.3. It seems that haystack_orig is
allocated at the beginning of the function, but only gets freed at the
end, and not if the function terminates early by e.g. RETURN_FALSE.