Re: Freeing memory
| From: | Rasmus Lerdorf | Date: | Sat, 09 Nov 2002 08:45:55 +0000 |
| Subject: | Re: Freeing memory | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-90693@lists.php.net to get a copy of this message | ||
Yup, you will need to FREE_ZVAL() it
On 9 Nov 2002, Tony Leake wrote:
>
> Hi,
>
> I am getting the following output from a php script that calls an
> extension I am writing (I have compiled the extension with
> --enable-debug)
>
>
> /home/phpcvs/php4_head/ext/pipe/pipe.c(245) : Freeing 0x0822568C (12
> bytes), script=test.php
> /home/phpcvs/php4_head/ext/pipe/pipe.c(244) : Freeing 0x0822564C (12
> bytes), script=test.php
>
> where lines lines 245 and 244 are:
> MAKE_STD_ZVAL(read);
> MAKE_STD_ZVAL(write);
>
> Does this mean that I need to free the memory from the zvals when the
> script exits, or is this just information?
>
> Thanks for your help
> Tony
>
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php
>