projects
/
php
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84f2311
)
Fix missing ZVAL_DEREF()
author
Bob Weinand
<bobwei9@hotmail.com>
Sat, 10 Jan 2015 21:29:00 +0000
(22:29 +0100)
committer
Bob Weinand
<bobwei9@hotmail.com>
Sat, 10 Jan 2015 21:29:00 +0000
(22:29 +0100)
ext/standard/http.c
patch
|
blob
|
history
diff --git
a/ext/standard/http.c
b/ext/standard/http.c
index 9c9d1dc5306cca7e1428e3b419022d5216fd28b4..4b454476f2db30de4cfc03a165e24e4d426fad96 100644
(file)
--- 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;