diff options
author | Zeev Suraski <zeev@php.net> | 1999-05-22 16:10:51 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 1999-05-22 16:10:51 +0000 |
commit | 1250c43a39cb562659076859bcf7c77260e45ffd (patch) | |
tree | 082c64d5b12b875659a5fd416c77a4cb959dd54d /Zend/zend_alloc.c | |
parent | 165280264178a9b561eac1e4b5985e0649c906a2 (diff) | |
download | php-git-1250c43a39cb562659076859bcf7c77260e45ffd.tar.gz |
* Add struct name to all typedef's so that they can be debugged with MSVC
* Fix an AiCount bug - list(...) = $var was using $var multiple times, and thus
causing AiCount to be decreased multiple times even though it was increased only
once for $var. Mark all FETCH_DIM's so that they won't decrease AiCount, and only
decrease AiCount on the last FETCH_DIM.
* Fix a stupid bug - forgot to pass CLS_C to some compiler function. For some reason
MSVC doesn't report these :I
Diffstat (limited to 'Zend/zend_alloc.c')
-rw-r--r-- | Zend/zend_alloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_alloc.c b/Zend/zend_alloc.c index d54f00608b..917f4949a3 100644 --- a/Zend/zend_alloc.c +++ b/Zend/zend_alloc.c @@ -357,7 +357,7 @@ ZEND_API void shutdown_memory_manager(int silent, int clean_cache) /* flush old leak */ if (leak_count>0) { if (!silent && leak_count>1) { - zend_message_dispatcher(ZMSG_MEMORY_LEAK_REPEATED, (void *) leak_count-1); + zend_message_dispatcher(ZMSG_MEMORY_LEAK_REPEATED, (void *) (leak_count-1)); } leak_count=0; total_bytes=0; @@ -382,7 +382,7 @@ ZEND_API void shutdown_memory_manager(int silent, int clean_cache) } #if ZEND_DEBUG if (!silent && leak_count>1) { - zend_message_dispatcher(ZMSG_MEMORY_LEAK_REPEATED, (void *) leak_count-1); + zend_message_dispatcher(ZMSG_MEMORY_LEAK_REPEATED, (void *) (leak_count-1)); } #endif } |