From: Antony Dovgal Date: Mon, 20 Jun 2005 19:59:21 +0000 (+0000) Subject: MFH: reorder and prevent memleak: bailout after free() X-Git-Tag: php-5.0.5RC1~148 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0d1eea3e501d49d1625769b2139dd01f332a006f;p=php MFH: reorder and prevent memleak: bailout after free() --- diff --git a/main/main.c b/main/main.c index e07d02f096..49bf3d9cbf 100644 --- a/main/main.c +++ b/main/main.c @@ -778,8 +778,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;