diff options
author | Moriyoshi Koizumi <moriyoshi@php.net> | 2009-09-06 14:43:09 +0000 |
---|---|---|
committer | Moriyoshi Koizumi <moriyoshi@php.net> | 2009-09-06 14:43:09 +0000 |
commit | e3c94d503a46bee7c90c29517ae16544ccea6cf0 (patch) | |
tree | 3588e7e0176cc765cb9353551537f0e6f8fd3f2e /Zend/zend.h | |
parent | b24e1609a17d838b422638fcf52576768ca37936 (diff) | |
download | php-git-e3c94d503a46bee7c90c29517ae16544ccea6cf0.tar.gz |
- Fix leaks.
Diffstat (limited to 'Zend/zend.h')
-rw-r--r-- | Zend/zend.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend.h b/Zend/zend.h index 0e3ea84dc3..b872e766cf 100644 --- a/Zend/zend.h +++ b/Zend/zend.h @@ -195,8 +195,8 @@ char *alloca (); #else # define ALLOCA_FLAG(name) # define SET_ALLOCA_FLAG(name) -# define do_alloca(p, use_heap) emalloc(p) -# define free_alloca(p, use_heap) efree(p) +# define do_alloca(p, use_heap) emalloc(p), use_heap = 1 +# define free_alloca(p, use_heap) efree(p), use_heap = 1 #endif #if ZEND_DEBUG |