From 1ad06e428dc96a8b229d45fa31f754024f67e1cd Mon Sep 17 00:00:00 2001 From: Zeev Suraski Date: Mon, 27 Dec 1999 17:24:33 +0000 Subject: [PATCH] *** empty log message *** --- Zend/zend_alloc.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Zend/zend_alloc.c b/Zend/zend_alloc.c index e941703191e..d778d6fd6c5 100644 --- a/Zend/zend_alloc.c +++ b/Zend/zend_alloc.c @@ -397,6 +397,10 @@ ZEND_API void shutdown_memory_manager(int silent, int clean_cache) zval display_memory_cache_stats; int i, j; + if (clean_cache) { + /* we're shutting down completely, don't even touch the INI subsystem */ + break; + } if (zend_get_ini_entry("display_memory_cache_stats", sizeof("display_memory_cache_stats"), &display_memory_cache_stats)==FAILURE) { break; }