Skip to content

Commit e6084da

Browse files
committed
final bits
1 parent 423c70f commit e6084da

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

ext/soap/soap.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1599,6 +1599,7 @@ PHP_METHOD(SoapServer, handle)
15991599

16001600
if (zf) {
16011601
php_stream_filter_remove(zf, 1 TSRMLS_CC);
1602+
}
16021603
} else {
16031604
zval_ptr_dtor(&retval);
16041605
return;

ext/standard/php_fopen_wrapper.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ static size_t php_stream_input_read(php_stream *stream, char *buf, size_t count
9191
}
9292

9393
php_stream_seek(*input->body_ptr, input->position, SEEK_SET);
94-
read = (*input->body_ptr)->ops->read(*input->body_ptr, buf, count TSRMLS_CC);
94+
read = php_stream_read(*input->body_ptr, buf, count);
9595

9696
if (!read || read == (size_t) -1) {
9797
stream->eof = 1;
@@ -105,6 +105,9 @@ static size_t php_stream_input_read(php_stream *stream, char *buf, size_t count
105105

106106
static int php_stream_input_close(php_stream *stream, int close_handle TSRMLS_DC) /* {{{ */
107107
{
108+
efree(stream->abstract);
109+
stream->abstract = NULL;
110+
108111
return 0;
109112
}
110113
/* }}} */

0 commit comments

Comments
 (0)