projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
fix read_property handler (return_value lives on stack of zend_read_property)
[m6w6/ext-http]
/
php_http_header.c
diff --git
a/php_http_header.c
b/php_http_header.c
index dfcba3c4433851983e5802e2dfc36cf2b052fec7..bbf6a9e085dccc46cf4465d39bbda52d55909a5e 100644
(file)
--- a/
php_http_header.c
+++ b/
php_http_header.c
@@
-243,6
+243,7
@@
PHP_METHOD(HttpHeader, negotiate)
return;
}
if (rs_array) {
+ ZVAL_DEREF(rs_array);
zval_dtor(rs_array);
array_init(rs_array);
}
@@
-290,6
+291,7
@@
PHP_METHOD(HttpHeader, getParams)
RETVAL_ZVAL(&zparams_obj, 0, 1);
}
+ zval_ptr_dtor(&zctor);
if (zargs) {
efree(zargs);
}