Re: svn: /php/php-src/trunk/ext/mysqlnd/ mysqlnd_auth.c

From: Date: Tue, 01 Feb 2011 10:38:39 +0000
Subject: Re: svn: /php/php-src/trunk/ext/mysqlnd/ mysqlnd_auth.c
References: 1 2 3  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-64480@lists.php.net to get a copy of this message
On 02/01/2011 11:36 AM, Kalle Sommer Nielsen wrote: > Hi Andrey > > 2011/1/31, Andrey Hristov <php@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

« previous php.cvs (#64480) next »