final bits

This commit is contained in:
Michael Wallner 2013-09-17 13:59:49 +02:00
parent 423c70fb4d
commit e6084da473
2 changed files with 5 additions and 1 deletions

View File

@ -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;

View File

@ -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;
} }
/* }}} */ /* }}} */