Re: [PHP-DEV] FREE_ZVAL and/or zval_dtor()

2002-03-12 Thread Andrey Hristov
s Reimer" <[EMAIL PROTECTED]> To: "Andrey Hristov" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, March 12, 2002 3:07 PM Subject: Re: [PHP-DEV] FREE_ZVAL and/or zval_dtor() > Hi, > > On Tuesday 12 March 2002 14:01, Andrey Hristov wrote: >

Re: [PHP-DEV] FREE_ZVAL and/or zval_dtor()

2002-03-12 Thread Klaus Reimer
Hi, On Tuesday 12 March 2002 14:01, Andrey Hristov wrote: > As far as I see FREE_ZVAL is ZEND_FAST_FREE and the latter is not freeing > memory just removes the zval from a list. So it is required to release the > memory before that. Fix me if I'm wrong. FREE_ZVAL calls ZEND_FAST_FREE, that's cor

Re: [PHP-DEV] FREE_ZVAL and/or zval_dtor()

2002-03-12 Thread Andrey Hristov
CTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 12, 2002 2:42 PM Subject: [PHP-DEV] FREE_ZVAL and/or zval_dtor() > Hi, > > I'm not sure if I have understood how to free the memory allocatedof a zval > correctly. Because I don't want to create memory leaks, please

[PHP-DEV] FREE_ZVAL and/or zval_dtor()

2002-03-12 Thread Klaus Reimer
Hi, I'm not sure if I have understood how to free the memory allocatedof a zval correctly. Because I don't want to create memory leaks, please tell me if I am right or tell me how it is done correctly: If I create a zval with MAKE_STD_ZVAL, I just need to call FREE_ZVAL, because there is no v