projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
update travis
[m6w6/ext-http]
/
php_http_env_request.c
diff --git
a/php_http_env_request.c
b/php_http_env_request.c
index 5f1d130dfb0081290fc42897480f3c116bd747df..0ee68f464ade730199dc260857d70c221072bc61 100644
(file)
--- a/
php_http_env_request.c
+++ b/
php_http_env_request.c
@@
-166,6
+166,7
@@
static PHP_METHOD(HttpEnvRequest, __construct)
zval *this_ptr = getThis(); \
zval qs_tmp, *qs = zend_read_property(Z_OBJCE_P(this_ptr), this_ptr, ZEND_STRL(prop), 0, &qs_tmp); \
\
+ ZVAL_NULL(&rv); \
array_init(&mn); \
Z_TRY_ADDREF_P(qs); \
add_next_index_zval(&mn, qs); \