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:
858f685
)
- Fix memory leak
author
Felipe Pena
<felipe@php.net>
Sat, 17 Oct 2009 22:10:24 +0000
(22:10 +0000)
committer
Felipe Pena
<felipe@php.net>
Sat, 17 Oct 2009 22:10:24 +0000
(22:10 +0000)
http_response_object.c
patch
|
blob
|
history
diff --git
a/http_response_object.c
b/http_response_object.c
index e6383538c822e419b318bccd08f8efe95171d0cb..33dbee6671e053378db2be64171cd4f37c74e4ba 100644
(file)
--- a/
http_response_object.c
+++ b/
http_response_object.c
@@
-670,6
+670,7
@@
PHP_METHOD(HttpResponse, getStream)
if (return_value_used) {
zval *stream = http_zsep(IS_LONG, *(zend_std_get_static_property(THIS_CE, ZEND_STRS("stream")-1, 0 TSRMLS_CC)));
RETVAL_RESOURCE(Z_LVAL_P(stream));
+ zval_ptr_dtor(&stream);
}
}
/* }}} */