Commit:    e6084da4735c945cb071c4d9259ea0d702eb77c6
Author:    Michael Wallner <m...@php.net>         Tue, 17 Sep 2013 13:59:49 
+0200
Parents:   423c70fb4d79b7831b1db41ea217c8e1afd5cf8e
Branches:  master

Link:       
http://git.php.net/?p=php-src.git;a=commitdiff;h=e6084da4735c945cb071c4d9259ea0d702eb77c6

Log:
final bits

Changed paths:
  M  ext/soap/soap.c
  M  ext/standard/php_fopen_wrapper.c


Diff:
diff --git a/ext/soap/soap.c b/ext/soap/soap.c
index 980c924..c5900dc 100644
--- a/ext/soap/soap.c
+++ b/ext/soap/soap.c
@@ -1599,6 +1599,7 @@ PHP_METHOD(SoapServer, handle)
 
                        if (zf) {
                                php_stream_filter_remove(zf, 1 TSRMLS_CC);
+                       }
                } else {
                        zval_ptr_dtor(&retval);
                        return;
diff --git a/ext/standard/php_fopen_wrapper.c b/ext/standard/php_fopen_wrapper.c
index 064eee2..76f77eb 100644
--- a/ext/standard/php_fopen_wrapper.c
+++ b/ext/standard/php_fopen_wrapper.c
@@ -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);
-       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) {
                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) /* {{{ */
 {
+       efree(stream->abstract);
+       stream->abstract = NULL;
+
        return 0;
 }
 /* }}} */


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to