summaryrefslogtreecommitdiff
path: root/Zend/zend.h
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/zend.h')
-rw-r--r--Zend/zend.h4
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