summaryrefslogtreecommitdiff
path: root/main/rfc1867.c
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>1999-12-24 17:39:27 +0000
committerAndi Gutmans <andi@php.net>1999-12-24 17:39:27 +0000
commit3bf1b04cb45a6b9c6ddbf81d74804a582f6361c0 (patch)
tree6877a95133675e50757726515246ca7e0ded8d6e /main/rfc1867.c
parente28aff2f7aa02824142bf425b65c74b0bcd9622a (diff)
downloadphp-git-3bf1b04cb45a6b9c6ddbf81d74804a582f6361c0.tar.gz
- Move more stuff to ALLOC_ZVAL(). We need to add those FREE_ZVAL()'s now.
Diffstat (limited to 'main/rfc1867.c')
-rw-r--r--main/rfc1867.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/rfc1867.c b/main/rfc1867.c
index a32fd3f057..cb39d54db3 100644
--- a/main/rfc1867.c
+++ b/main/rfc1867.c
@@ -45,7 +45,7 @@ static void php_mime_split(char *buf, int cnt, char *boundary)
PLS_FETCH();
if (PG(track_vars)) {
- http_post_vars = (pval *) emalloc(sizeof(pval));
+ http_post_vars = ALLOC_ZVAL();
array_init(http_post_vars);
INIT_PZVAL(http_post_vars);