projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
990dc1c
)
deref
author
Michael Wallner
<mike@php.net>
Mon, 30 Jan 2017 11:40:36 +0000
(12:40 +0100)
committer
Michael Wallner
<mike@php.net>
Mon, 30 Jan 2017 11:40:36 +0000
(12:40 +0100)
src/php_http_header.c
patch
|
blob
|
history
diff --git
a/src/php_http_header.c
b/src/php_http_header.c
index 91204c13fa7169f1ab25de7c9dc8dbbea6840e16..8c71cdeceaae7f2c4d75db7abe998477b24b4490 100644
(file)
--- a/
src/php_http_header.c
+++ b/
src/php_http_header.c
@@
-100,6
+100,7
@@
void php_http_header_to_callback_ex(const char *key, zval *val, zend_bool crlf,
zval *aval;
zend_string *str;
+ ZVAL_DEREF(val);
switch (Z_TYPE_P(val)) {
case IS_ARRAY:
ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(val), aval)