diff options
| author | Dmitry Stogov <dmitry@php.net> | 2005-12-07 13:55:52 +0000 |
|---|---|---|
| committer | Dmitry Stogov <dmitry@php.net> | 2005-12-07 13:55:52 +0000 |
| commit | 2e83748cfca3e006edcf4d9053109a6f46555682 (patch) | |
| tree | 4ccc16c8ff8c026f7bbed2043967908f2e9f443c /ext/soap/php_http.c | |
| parent | 0c90ddd3a1050f944f620eeec7c13cd470802f6d (diff) | |
| download | php-git-2e83748cfca3e006edcf4d9053109a6f46555682.tar.gz | |
Fixed bug #33394 (Socket Timeout on SOAP request causes general exception in Apache process).
Diffstat (limited to 'ext/soap/php_http.c')
| -rw-r--r-- | ext/soap/php_http.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/soap/php_http.c b/ext/soap/php_http.c index 2718b3708a..fa7afefe08 100644 --- a/ext/soap/php_http.c +++ b/ext/soap/php_http.c @@ -179,7 +179,9 @@ static php_stream* http_connect(zval* this_ptr, php_url *phpurl, int use_ssl, in php_stream_close(stream); stream = NULL; } - efree(http_headers); + if (http_headers) { + efree(http_headers); + } } /* enable SSL transport layer */ if (stream) { |
