]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
axe attempt to close a previously-closed or uninitialized apr socket (clang scan...
authorJeff Trawick <trawick@apache.org>
Wed, 23 Oct 2013 01:25:05 +0000 (01:25 +0000)
committerJeff Trawick <trawick@apache.org>
Wed, 23 Oct 2013 01:25:05 +0000 (01:25 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1534890 13f79535-47bb-0310-9956-ffa450edef68

modules/ssl/ssl_util_ocsp.c

index 757df05f4095447379a32504dac2b8f7cab6cb72..901604052866b23bc3fb93310ec8b28c516e6a98 100644 (file)
@@ -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;
     }