summaryrefslogtreecommitdiff
path: root/Zend/zend_alloc.c
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2002-06-17 19:00:37 +0000
committerAndi Gutmans <andi@php.net>2002-06-17 19:00:37 +0000
commit1e4a2dc6a9057bc3cd508a62a6e24a85979cecff (patch)
tree96c7a8d92fa6b6b3801fe277de3829eb3a3fdf82 /Zend/zend_alloc.c
parent54ef650fe77695d5261ca908bb132105d5590879 (diff)
downloadphp-git-1e4a2dc6a9057bc3cd508a62a6e24a85979cecff.tar.gz
- Fix a bug and add code which frees actual allocated segments at the end
- of execution (this still doesn't work because some blocks remain - referenced after the memory manager is killed.
Diffstat (limited to 'Zend/zend_alloc.c')
-rw-r--r--Zend/zend_alloc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Zend/zend_alloc.c b/Zend/zend_alloc.c
index 8c4e3e187e..3e898c1174 100644
--- a/Zend/zend_alloc.c
+++ b/Zend/zend_alloc.c
@@ -462,6 +462,7 @@ ZEND_API void shutdown_memory_manager(int silent, int clean_cache TSRMLS_DC)
zend_fast_cache_list_entry *fast_cache_list_entry, *next_fast_cache_list_entry;
#if ZEND_MM
+ zend_mm_shutdown(&AG(mm_heap));
return;
#elif defined(ZEND_WIN32) && !ZEND_DEBUG
if (clean_cache && AG(memory_heap)) {