diff options
author | Andi Gutmans <andi@php.net> | 2002-06-17 19:00:37 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 2002-06-17 19:00:37 +0000 |
commit | 1e4a2dc6a9057bc3cd508a62a6e24a85979cecff (patch) | |
tree | 96c7a8d92fa6b6b3801fe277de3829eb3a3fdf82 /Zend/zend_alloc.c | |
parent | 54ef650fe77695d5261ca908bb132105d5590879 (diff) | |
download | php-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.c | 1 |
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)) { |