From: Antony Dovgal Date: Mon, 20 Jun 2005 19:59:43 +0000 (+0000) Subject: MFH: reorder and prevent memleak: bailout after free() X-Git-Tag: php-4.4.0RC2~12 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=10a123f2f81db0ed25de8e19bb1680cac0a923dc;p=php MFH: reorder and prevent memleak: bailout after free() --- diff --git a/main/main.c b/main/main.c index 8db03b401b..d58f748b2f 100644 --- a/main/main.c +++ b/main/main.c @@ -702,8 +702,8 @@ static void php_error_cb(int type, const char *error_filename, const uint error_ /* restore memory limit */ AG(memory_limit) = PG(memory_limit); #endif - zend_bailout(); efree(buffer); + zend_bailout(); return; } break;