Fixed bug #33394 (Socket Timeout on SOAP request causes general exception in Apache process).

This commit is contained in:
Dmitry Stogov 2005-12-07 13:56:18 +00:00
parent bfa084ddba
commit 9e8bf1a20f

View File

@ -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) {