From: foobar Date: Mon, 23 Feb 2004 19:12:22 +0000 (+0000) Subject: Fix bug #27337 (missing sapi_shutdown() causing memory leak) X-Git-Tag: RELEASE_0_2_0~209 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=09d5b958710e6e19c6abaa15ff2b30d4b6674a75;p=php Fix bug #27337 (missing sapi_shutdown() causing memory leak) --- diff --git a/sapi/isapi/php5isapi.c b/sapi/isapi/php5isapi.c index b0d1366299..84f2d67cf7 100644 --- a/sapi/isapi/php5isapi.c +++ b/sapi/isapi/php5isapi.c @@ -935,6 +935,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; }