From: foobar Date: Mon, 23 Feb 2004 19:15:05 +0000 (+0000) Subject: MFH: fixed bug #27337 (missing sapi_shutdown()) X-Git-Tag: php-4.3.5RC4~71 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=66df10638383e80d734b82a07ce16306b59cc818;p=php MFH: fixed bug #27337 (missing sapi_shutdown()) --- 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; }