From 10a123f2f81db0ed25de8e19bb1680cac0a923dc Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Mon, 20 Jun 2005 19:59:43 +0000 Subject: [PATCH] MFH: reorder and prevent memleak: bailout after free() --- main/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.40.0