moriyoshi Tue Dec 3 10:02:07 2002 EDT Modified files: /php4/ext/standard array.c Log: Fixed leaks in array_walk() Index: php4/ext/standard/array.c diff -u php4/ext/standard/array.c:1.205 php4/ext/standard/array.c:1.206 --- php4/ext/standard/array.c:1.205 Tue Nov 26 17:12:40 2002 +++ php4/ext/standard/array.c Tue Dec 3 10:02:06 2002 @@ -21,7 +21,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: array.c,v 1.205 2002/11/26 22:12:40 moriyoshi Exp $ */ +/* $Id: array.c,v 1.206 2002/12/03 15:02:06 moriyoshi Exp $ */ #include "php.h" #include "php_ini.h" @@ -994,7 +994,7 @@ zend_hash_move_forward_ex(target_hash, &pos); } - efree(key); + zval_ptr_dtor(&key); return 0; }
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php