andrey Wed, 16 Mar 2011 12:42:59 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=309303
Log:
allocate persistently
Changed paths:
U php/php-src/trunk/ext/mysqlnd/mysqlnd_debug.c
Modified: php/php-src/trunk/ext/mysqlnd/mysqlnd_debug.c
===================================================================
--- php/php-src/trunk/ext/mysqlnd/mysqlnd_debug.c 2011-03-16 12:38:23 UTC
(rev 309302)
+++ php/php-src/trunk/ext/mysqlnd/mysqlnd_debug.c 2011-03-16 12:42:59 UTC
(rev 309303)
@@ -538,7 +538,7 @@
zend_stack_destroy(&self->call_time_stack);
zend_hash_destroy(&self->not_filtered_functions);
zend_hash_destroy(&self->function_profiles);
- efree(self);
+ free(self);
return PASS;
}
/* }}} */
@@ -761,7 +761,7 @@
PHPAPI MYSQLND_DEBUG *
mysqlnd_debug_init(const char * skip_functions[] TSRMLS_DC)
{
- MYSQLND_DEBUG *ret = ecalloc(1, sizeof(MYSQLND_DEBUG));
+ MYSQLND_DEBUG *ret = calloc(1, sizeof(MYSQLND_DEBUG));
#ifdef ZTS
ret->TSRMLS_C = TSRMLS_C;
#endif
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php