diff options
| author | Dmitry Stogov <dmitry@php.net> | 2005-05-10 10:20:38 +0000 |
|---|---|---|
| committer | Dmitry Stogov <dmitry@php.net> | 2005-05-10 10:20:38 +0000 |
| commit | 909033e6508318a3a19c81d55e404fea6d0d24f0 (patch) | |
| tree | e83437b428d36b28efbca24c38928a7c4b6908f9 /ext/soap/php_http.c | |
| parent | 2284d365f9fcd559978079105cf0e2b6938a3198 (diff) | |
| download | php-git-909033e6508318a3a19c81d55e404fea6d0d24f0.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")); |
