diff options
author | Dmitry Stogov <dmitry@php.net> | 2005-05-10 10:20:58 +0000 |
---|---|---|
committer | Dmitry Stogov <dmitry@php.net> | 2005-05-10 10:20:58 +0000 |
commit | bd996f23f2b6a461770b7bf7a1f38a1200d088ca (patch) | |
tree | 0cbb9ebc6bef21411d3a8636fb7c017228fc1a65 /ext/soap/php_http.c | |
parent | 61ba13bf728c6a07cb3b99c03060ae7bea7787e3 (diff) | |
download | php-git-bd996f23f2b6a461770b7bf7a1f38a1200d088ca.tar.gz |
Fixed SIGSEGV
Diffstat (limited to 'ext/soap/php_http.c')
-rw-r--r-- | ext/soap/php_http.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/soap/php_http.c b/ext/soap/php_http.c index 2de0e42237..9b3c21cc15 100644 --- a/ext/soap/php_http.c +++ b/ext/soap/php_http.c @@ -665,7 +665,7 @@ try_again: do { if (!get_http_headers(stream, &http_headers, &http_header_size TSRMLS_CC)) { - efree(http_headers); + if (http_headers) {efree(http_headers);} if (request != buf) {efree(request);} php_stream_close(stream); zend_hash_del(Z_OBJPROP_P(this_ptr), "httpsocket", sizeof("httpsocket")); |