From 66df10638383e80d734b82a07ce16306b59cc818 Mon Sep 17 00:00:00 2001 From: foobar Date: Mon, 23 Feb 2004 19:15:05 +0000 Subject: [PATCH] MFH: fixed bug #27337 (missing sapi_shutdown()) --- NEWS | 2 ++ sapi/isapi/php4isapi.c | 1 + 2 files changed, 3 insertions(+) diff --git a/NEWS b/NEWS index 5be4b64c10..4f8460cbe9 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,8 @@ PHP 4 NEWS ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ?? Feb 2004, Version 4.3.5 +- Fixed bug #27337 (missing sapi_shutdown() in sapi/isapi causes memory leak). + (Jani, msisolak at yahoo dot com) - Fixed bug #27328 (ftp extension relies on 32-bit longs). (Sara) - Fixed bug #27295 (memory leak inside sscanf()). (Ilia) - Fixed bug #27293 (two crashes inside image2wbmp()). (Ilia) diff --git a/sapi/isapi/php4isapi.c b/sapi/isapi/php4isapi.c index 88d95ebdaf..b00c5d4c98 100644 --- a/sapi/isapi/php4isapi.c +++ b/sapi/isapi/php4isapi.c @@ -854,6 +854,7 @@ __declspec(dllexport) BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, L if (isapi_sapi_module.shutdown) { isapi_sapi_module.shutdown(&sapi_module); } + sapi_shutdown(); tsrm_shutdown(); break; } -- 2.40.0