cvs: php-src /ext/json/tests 003.phpt

From: Date: Wed, 13 Sep 2006 13:26:10 +0000
Subject: cvs: php-src /ext/json/tests 003.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-40482@lists.php.net to get a copy of this message
dmitry Wed Sep 13 13:26:10 2006 UTC Modified files: /php-src/ext/json/tests 003.phpt Log: Fixed memory leaks http://cvs.php.net/viewvc.cgi/php-src/ext/json/tests/003.phpt?r1=1.2&r2=1.3&diff_format=u Index: php-src/ext/json/tests/003.phpt diff -u php-src/ext/json/tests/003.phpt:1.2 php-src/ext/json/tests/003.phpt:1.3 --- php-src/ext/json/tests/003.phpt:1.2 Thu Jul 20 09:33:15 2006 +++ php-src/ext/json/tests/003.phpt Wed Sep 13 13:26:10 2006 @@ -11,6 +11,9 @@ var_dump($a); var_dump(json_encode($a)); +/* Break circular data structure to prevent memory leaks */ +unset($a[0]); + echo "Done\n"; ?> --EXPECTF--

« previous php.cvs (#40482) next »