Re: memleak in string.c?
| From: | Sterling Hughes | Date: | Thu, 26 Dec 2002 20:23:07 +0000 |
| Subject: | Re: memleak in string.c? | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-92845@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.
>
fixed in cvs, thanks.
-Sterling
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php
>