cvs: php4 /ext/standard array.c

From: Date: Tue, 03 Dec 2002 15:02:07 +0000
Subject: cvs: php4 /ext/standard array.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-16861@lists.php.net to get a copy of this message
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; }

« previous php.cvs (#16861) next »