On 02/01/2011 11:36 AM, Kalle Sommer Nielsen wrote:
> Hi Andrey
> 
> 2011/1/31, Andrey Hristov <p...@hristov.com>:
>> On 01/31/2011 01:32 PM, Kalle Sommer Nielsen wrote:
>> this will return emalloc-ed memory, right? Later this memory will be
>> freed with free() and guess what happens :)
> 
> No, the eXXXX functions will return emalloc()'d memory, the
> zend_strXXXX functions will return malloc()'d memory, see its
> implementation:
> http://lxr.php.net/opengrok/xref/PHP_TRUNK/Zend/zend_alloc.c#2566
> 
> 
Right, sorry :(, I saw the implementation later

Best,
Andrey

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to