diff options
Diffstat (limited to 'Zend/zend_alloc.c')
-rw-r--r-- | Zend/zend_alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_alloc.c b/Zend/zend_alloc.c index 4012b6f913..9b06d1b2cf 100644 --- a/Zend/zend_alloc.c +++ b/Zend/zend_alloc.c @@ -456,7 +456,7 @@ ZEND_API void shutdown_memory_manager(int silent, int clean_cache) TSRMLS_FETCH(); #if defined(ZEND_WIN32) && !ZEND_DEBUG - if (AG(memory_heap)) { + if (clean_cache && AG(memory_heap)) { HeapDestroy(AG(memory_heap)); return; } |