summaryrefslogtreecommitdiff
path: root/sapi/isapi/php4isapi.c
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>1999-12-24 15:43:39 +0000
committerAndi Gutmans <andi@php.net>1999-12-24 15:43:39 +0000
commit3f6e00e48ddef5ab2dd73aa093c3654edd6ca534 (patch)
treedbc0e52fe06f082ab90885c03c8ee6b316b42beb /sapi/isapi/php4isapi.c
parent62b2087a84018cf19e569b0256f2c3cbf4179470 (diff)
downloadphp-git-3f6e00e48ddef5ab2dd73aa093c3654edd6ca534.tar.gz
- Use ALLOC_ZVAL() in PHP. Finding the places to put FREE_ZVAL(z) is much
more tricky and I'm not sure how many places this is. zval allocations were only made directly in 11 places.
Diffstat (limited to 'sapi/isapi/php4isapi.c')
-rw-r--r--sapi/isapi/php4isapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/isapi/php4isapi.c b/sapi/isapi/php4isapi.c
index 83416f3ffb..489bd627e2 100644
--- a/sapi/isapi/php4isapi.c
+++ b/sapi/isapi/php4isapi.c
@@ -407,7 +407,7 @@ static void hash_isapi_variables(ELS_D SLS_DC)
if (colon) {
char *value = colon+1;
- zval *entry = (zval *) emalloc(sizeof(zval));
+ zval *entry = ALLOC_ZVAL();
while (*value==' ') {
value++;