X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_response_object.c;h=33dbee6671e053378db2be64171cd4f37c74e4ba;hp=e6383538c822e419b318bccd08f8efe95171d0cb;hb=ea1025c793fae12ab3dffe8d0950b3240793294c;hpb=858f68584ad6016446801fccfa6bd82a94b5f512 diff --git a/http_response_object.c b/http_response_object.c index e638353..33dbee6 100644 --- 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); } } /* }}} */