]> granicus.if.org Git - php/commitdiff
Fix bug #27337 (missing sapi_shutdown() causing memory leak)
authorfoobar <sniper@php.net>
Mon, 23 Feb 2004 19:12:22 +0000 (19:12 +0000)
committerfoobar <sniper@php.net>
Mon, 23 Feb 2004 19:12:22 +0000 (19:12 +0000)
sapi/isapi/php5isapi.c

index b0d1366299a21ef0af1cd3a28b898d50c0f5ff20..84f2d67cf7918bbad0ee7f92baf75d6d289d80b2 100644 (file)
@@ -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;
        }