#27337 [NEW]: Failure to call sapi_shutdown() leaves memory leak

From: Date: Sat, 21 Feb 2004 05:28:39 +0000
Subject: #27337 [NEW]: Failure to call sapi_shutdown() leaves memory leak
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-55263@lists.php.net to get a copy of this message
From: msisolak at yahoo dot com Operating system: Windows 2000 PHP version: 5CVS-2004-02-21 (dev) PHP Bug Type: IIS related Bug description: Failure to call sapi_shutdown() leaves memory leak Description: ------------ The ISAPI doesn't call sapi_shutdown() so the known_post_content_types hash tables doesn't get freed. Patch: --- php5isapi.c.orig Tue Feb 17 17:07:14 2004 +++ php5isapi.c Tue Feb 17 17:03:54 2004 @@ -935,6 +935,7 @@ if (isapi_sapi_module.shutdown) { isapi_sapi_module.shutdown(&sapi_module); } + sapi_shutdown(); tsrm_shutdown(); break; } -- Edit bug report at http://bugs.php.net/?id=27337&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27337&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27337&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=27337&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=27337&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=27337&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=27337&r=needscript Try newer version: http://bugs.php.net/fix.php?id=27337&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=27337&r=support Expected behavior: http://bugs.php.net/fix.php?id=27337&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=27337&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=27337&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=27337&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27337&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=27337&r=dst IIS Stability: http://bugs.php.net/fix.php?id=27337&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=27337&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=27337&r=float

« previous php.bugs (#55263) next »