- Fix memory leak in mem cache in conjunction with Zend MM. How come no one

- noticed this? :)
This commit is contained in:
Andi Gutmans 2004-05-25 08:33:11 +00:00
parent 1e36c786ae
commit db90fc4c90
2 changed files with 27 additions and 26 deletions

View file

@ -126,7 +126,7 @@ ZEND_API char *_estrndup(const char *s, unsigned int length ZEND_FILE_LINE_DC ZE
ZEND_API int zend_set_memory_limit(unsigned int memory_limit);
ZEND_API void start_memory_manager(TSRMLS_D);
ZEND_API void shutdown_memory_manager(int silent, int clean_cache TSRMLS_DC);
ZEND_API void shutdown_memory_manager(int silent, int full_shutdown TSRMLS_DC);
#if ZEND_DEBUG
ZEND_API int _mem_block_check(void *ptr, int silent ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC);