cvs: php4(PHP_4_3) /ext/standard array.c

From: Date: Tue, 03 Dec 2002 15:02:57 +0000
Subject: cvs: php4(PHP_4_3) /ext/standard array.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-16862@lists.php.net to get a copy of this message
moriyoshi Tue Dec 3 10:02:57 2002 EDT Modified files: (Branch: PHP_4_3) /php4/ext/standard array.c Log: MFH: fixed leaks in array_walk() Index: php4/ext/standard/array.c diff -u php4/ext/standard/array.c:1.199.2.4 php4/ext/standard/array.c:1.199.2.5 --- php4/ext/standard/array.c:1.199.2.4 Tue Nov 26 17:14:11 2002 +++ php4/ext/standard/array.c Tue Dec 3 10:02:55 2002 @@ -21,7 +21,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: array.c,v 1.199.2.4 2002/11/26 22:14:11 moriyoshi Exp $ */ +/* $Id: array.c,v 1.199.2.5 2002/12/03 15:02:55 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 (#16862) next »