cvs: php-src(PHP_4_4) /main main.c

From: Date: Mon, 20 Jun 2005 19:59:43 +0000
Subject: cvs: php-src(PHP_4_4) /main main.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-32431@lists.php.net to get a copy of this message
tony2001 Mon Jun 20 15:59:43 2005 EDT Modified files: (Branch: PHP_4_4) /php-src/main main.c Log: MFH: reorder and prevent memleak: bailout after free() http://cvs.php.net/diff.php/php-src/main/main.c?r1=1.512.2.63&r2=1.512.2.63.2.1&ty=u Index: php-src/main/main.c diff -u php-src/main/main.c:1.512.2.63 php-src/main/main.c:1.512.2.63.2.1 --- php-src/main/main.c:1.512.2.63 Mon May 16 04:55:31 2005 +++ php-src/main/main.c Mon Jun 20 15:59:43 2005 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: main.c,v 1.512.2.63 2005/05/16 08:55:31 tony2001 Exp $ */ +/* $Id: main.c,v 1.512.2.63.2.1 2005/06/20 19:59:43 tony2001 Exp $ */ /* {{{ includes */ @@ -702,8 +702,8 @@ /* restore memory limit */ AG(memory_limit) = PG(memory_limit); #endif - zend_bailout(); efree(buffer); + zend_bailout(); return; } break;

« previous php.cvs (#32431) next »