X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_response_object.c;h=d51c2d108085c96beb0d9496c0f23febfefdb32d;hp=e6383538c822e419b318bccd08f8efe95171d0cb;hb=045c4a444346376a47c0d115829a647f21f7edb4;hpb=5ba379899fb1e05ede73674dc010ce8846e051c2 diff --git a/http_response_object.c b/http_response_object.c index e638353..d51c2d1 100644 --- a/http_response_object.c +++ b/http_response_object.c @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2007, Michael Wallner | + | Copyright (c) 2004-2010, Michael Wallner | +--------------------------------------------------------------------+ */ @@ -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); } } /* }}} */