From: Jeff Trawick Date: Wed, 23 Oct 2013 01:25:05 +0000 (+0000) Subject: axe attempt to close a previously-closed or uninitialized apr socket (clang scan... X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73895f835f5627819832475123bc45fb1d2d2174;p=thirdparty%2Fapache%2Fhttpd.git axe attempt to close a previously-closed or uninitialized apr socket (clang scan-build) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1534890 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/ssl/ssl_util_ocsp.c b/modules/ssl/ssl_util_ocsp.c index 757df05f409..90160405286 100644 --- a/modules/ssl/ssl_util_ocsp.c +++ b/modules/ssl/ssl_util_ocsp.c @@ -96,7 +96,6 @@ static apr_socket_t *send_request(BIO *request, const apr_uri_t *uri, ap_log_cerror(APLOG_MARK, APLOG_ERR, rv, c, APLOGNO(01974) "could not connect to OCSP responder '%s'", uri->hostinfo); - apr_socket_close(sd); return NULL; }