summaryrefslogtreecommitdiff
path: root/ext/standard/http.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/http.c')
-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;