diff options
| author | Dmitry Stogov <dmitry@php.net> | 2005-02-02 09:11:46 +0000 |
|---|---|---|
| committer | Dmitry Stogov <dmitry@php.net> | 2005-02-02 09:11:46 +0000 |
| commit | 83e6e404383d85a3bda00f92b07d7f86841e5401 (patch) | |
| tree | 6a454b1e0d61965279a63dee6cdb28c5b265c807 /ext/soap/php_http.c | |
| parent | fd4fe1c8d32e40ee25a0e7dcc19e8caa33006165 (diff) | |
| download | php-git-83e6e404383d85a3bda00f92b07d7f86841e5401.tar.gz | |
Fixed bug #31755 (Cannot create SOAP header in no namespace)
Diffstat (limited to 'ext/soap/php_http.c')
| -rw-r--r-- | ext/soap/php_http.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/soap/php_http.c b/ext/soap/php_http.c index 4b9a97258d..57983a0529 100644 --- a/ext/soap/php_http.c +++ b/ext/soap/php_http.c @@ -655,6 +655,7 @@ try_again: } if (!get_http_headers(stream, &http_headers, &http_header_size TSRMLS_CC)) { + efree(http_headers); if (request != buf) {efree(request);} php_stream_close(stream); zend_hash_del(Z_OBJPROP_P(this_ptr), "httpsocket", sizeof("httpsocket")); @@ -690,6 +691,7 @@ try_again: if (http_status == 100) { efree(http_headers); if (!get_http_headers(stream, &http_headers, &http_header_size TSRMLS_CC)) { + efree(http_headers); if (request != buf) {efree(request);} php_stream_close(stream); zend_hash_del(Z_OBJPROP_P(this_ptr), "httpsocket", sizeof("httpsocket")); |
