diff options
author | Andi Gutmans <andi@php.net> | 2001-06-30 07:58:34 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 2001-06-30 07:58:34 +0000 |
commit | 55687ca216423fc677cf7663abd30ca72fe170ed (patch) | |
tree | 14888ea5db2fdb459163f8c355bdaef172810b60 /Zend/zend_alloc.c | |
parent | 61b28c586a8340471ce9a04ba136f0416481b7de (diff) | |
download | php-git-55687ca216423fc677cf7663abd30ca72fe170ed.tar.gz |
- Fix the memory limit fix.
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 632e13aeeb..9709528d8c 100644 --- a/Zend/zend_alloc.c +++ b/Zend/zend_alloc.c @@ -456,10 +456,10 @@ ZEND_API void shutdown_memory_manager(int silent, int clean_cache) for (i=1; i<MAX_CACHED_MEMORY; i++) { for (j=0; j<AG(cache_count)[i]; j++) { + ptr = (zend_mem_header *) AG(cache)[i][j]; #if MEMORY_LIMIT AG(allocated_memory) -= REAL_SIZE(ptr->size); #endif - ptr = (zend_mem_header *) AG(cache)[i][j]; REMOVE_POINTER_FROM_LIST(ptr); free(ptr); } |