summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorBob Weinand <bobwei9@hotmail.com>2015-01-10 22:29:00 +0100
committerBob Weinand <bobwei9@hotmail.com>2015-01-10 22:29:00 +0100
commit773c8b0c092a0e9ad5c5548815bcb9991d54d5c1 (patch)
tree382bde7e84054698428d1d3925a4098e8f71ac01 /ext
parent84f2311bc98dc2e1d45ce9e67615ce3592ed39c2 (diff)
downloadphp-git-773c8b0c092a0e9ad5c5548815bcb9991d54d5c1.tar.gz
Fix missing ZVAL_DEREF()
Diffstat (limited to 'ext')
-rw-r--r--ext/standard/http.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/standard/http.c b/ext/standard/http.c
index 9c9d1dc530..4b454476f2 100644
--- a/ext/standard/http.c
+++ b/ext/standard/http.c
@@ -76,6 +76,7 @@ PHPAPI int php_url_encode_hash_ex(HashTable *ht, smart_str *formstr,
prop_len = 0;
}
+ ZVAL_DEREF(zdata);
if (Z_TYPE_P(zdata) == IS_ARRAY || Z_TYPE_P(zdata) == IS_OBJECT) {
if (key) {
zend_string *ekey;