andi Thu Aug 12 02:17:42 2004 EDT Modified files: /php-src/ext/standard array.c Log: - Use FREE_HASHTABLE() http://cvs.php.net/diff.php/php-src/ext/standard/array.c?r1=1.271&r2=1.272&ty=u Index: php-src/ext/standard/array.c diff -u php-src/ext/standard/array.c:1.271 php-src/ext/standard/array.c:1.272 --- php-src/ext/standard/array.c:1.271 Tue Aug 10 02:00:30 2004 +++ php-src/ext/standard/array.c Thu Aug 12 02:17:42 2004 @@ -21,7 +21,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: array.c,v 1.271 2004/08/10 06:00:30 moriyoshi Exp $ */ +/* $Id: array.c,v 1.272 2004/08/12 06:17:42 andi Exp $ */ #include "php.h" #include "php_ini.h" @@ -1988,7 +1988,7 @@ hashtable and replace it with new one */ new_hash = php_splice(Z_ARRVAL_P(stack), 0, 0, &args[1], argc-1, NULL); zend_hash_destroy(Z_ARRVAL_P(stack)); - efree(Z_ARRVAL_P(stack)); + FREE_HASHTABLE(Z_ARRVAL_P(stack)); Z_ARRVAL_P(stack) = new_hash; /* Clean up and return the number of elements in the stack */
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php