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 arg by ref handling
[m6w6/ext-http]
/
php_http_encoding.c
diff --git
a/php_http_encoding.c
b/php_http_encoding.c
index 30b4c81187acfced1f4bc5032009f92cbc73b2bd..ad08ff50298b87c992e39f1a087dbddf7f504ade 100644
(file)
--- a/
php_http_encoding.c
+++ b/
php_http_encoding.c
@@
-1146,6
+1146,7
@@
static PHP_METHOD(HttpDechunkStream, decode)
if ((end_ptr = php_http_encoding_dechunk(str, len, &enc_str, &enc_len))) {
if (zlen) {
+ ZVAL_DEREF(zlen);
zval_dtor(zlen);
ZVAL_LONG(zlen, str + len - end_ptr);
}