mirror of
https://github.com/php/php-src.git
synced 2024-12-16 21:37:49 +08:00
final bits
This commit is contained in:
parent
423c70fb4d
commit
e6084da473
@ -1599,6 +1599,7 @@ PHP_METHOD(SoapServer, handle)
|
|||||||
|
|
||||||
if (zf) {
|
if (zf) {
|
||||||
php_stream_filter_remove(zf, 1 TSRMLS_CC);
|
php_stream_filter_remove(zf, 1 TSRMLS_CC);
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
zval_ptr_dtor(&retval);
|
zval_ptr_dtor(&retval);
|
||||||
return;
|
return;
|
||||||
|
@ -91,7 +91,7 @@ static size_t php_stream_input_read(php_stream *stream, char *buf, size_t count
|
|||||||
}
|
}
|
||||||
|
|
||||||
php_stream_seek(*input->body_ptr, input->position, SEEK_SET);
|
php_stream_seek(*input->body_ptr, input->position, SEEK_SET);
|
||||||
read = (*input->body_ptr)->ops->read(*input->body_ptr, buf, count TSRMLS_CC);
|
read = php_stream_read(*input->body_ptr, buf, count);
|
||||||
|
|
||||||
if (!read || read == (size_t) -1) {
|
if (!read || read == (size_t) -1) {
|
||||||
stream->eof = 1;
|
stream->eof = 1;
|
||||||
@ -105,6 +105,9 @@ static size_t php_stream_input_read(php_stream *stream, char *buf, size_t count
|
|||||||
|
|
||||||
static int php_stream_input_close(php_stream *stream, int close_handle TSRMLS_DC) /* {{{ */
|
static int php_stream_input_close(php_stream *stream, int close_handle TSRMLS_DC) /* {{{ */
|
||||||
{
|
{
|
||||||
|
efree(stream->abstract);
|
||||||
|
stream->abstract = NULL;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
/* }}} */
|
/* }}} */
|
||||||
|
Loading…
Reference in New Issue
Block a user