On 02/01/2011 11:36 AM, Kalle Sommer Nielsen wrote:
> Hi Andrey
>
> 2011/1/31, Andrey Hristov :
>> 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 e functions
Hi Andrey
2011/1/31, Andrey Hristov :
> 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 e functions will return emalloc()'d memory, the
zend_str functions will
On Mon, Jan 31, 2011 at 3:55 PM, Andrey Hristov wrote:
> this will return emalloc-ed memory, right? Later this memory will be
> freed with free() and guess what happens :)
Is it used outside php? if not then it is a documentation matter no?
"returned value has to be freed using efree".
Cheers,
On 01/31/2011 01:32 PM, Kalle Sommer Nielsen wrote:
> kalleMon, 31 Jan 2011 12:32:32 +
>
> Revision: http://svn.php.net/viewvc?view=revision&revision=307878
>
> Log:
> Use our own zend_strndup() implementation of strndup() -- Fixes build on
> platforms wit
kalleMon, 31 Jan 2011 12:32:32 +
Revision: http://svn.php.net/viewvc?view=revision&revision=307878
Log:
Use our own zend_strndup() implementation of strndup() -- Fixes build on
platforms without strndup(), like Windows
Changed paths:
U php/php-src/t
andrey Thu, 27 Jan 2011 18:51:12 +
Revision: http://svn.php.net/viewvc?view=revision&revision=307799
Log:
a better habitat
Changed paths:
U php/php-src/trunk/ext/mysqlnd/mysqlnd_auth.c
Modified: php/php-src/trunk/ext/mysqlnd/mysqlnd_auth.c
===
andrey Thu, 27 Jan 2011 17:30:29 +
Revision: http://svn.php.net/viewvc?view=revision&revision=307798
Log:
fix a crash in new code
Changed paths:
U php/php-src/trunk/ext/mysqlnd/mysqlnd_auth.c
Modified: php/php-src/trunk/ext/mysqlnd/mysqlnd_auth.c
andrey Mon, 24 Jan 2011 13:59:28 +
Revision: http://svn.php.net/viewvc?view=revision&revision=307712
Log:
fix typos
Changed paths:
U php/php-src/trunk/ext/mysqlnd/mysqlnd_auth.c
Modified: php/php-src/trunk/ext/mysqlnd/mysqlnd_auth.c
==