]> granicus.if.org Git - apache/commitdiff
* server/mpm_unix.c (dummy_connection): Destroy temp pool and return
authorJoe Orton <jorton@apache.org>
Tue, 13 Mar 2012 15:03:54 +0000 (15:03 +0000)
committerJoe Orton <jorton@apache.org>
Tue, 13 Mar 2012 15:03:54 +0000 (15:03 +0000)
  on connect() failure.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1300171 13f79535-47bb-0310-9956-ffa450edef68

server/mpm_unix.c

index 6b1d6ee183d5e12e2bb4f95b6fa4fb67e9d06869..6c1606568e11b8a6cbb81a5ca1209830da181d65 100644 (file)
@@ -569,6 +569,8 @@ static apr_status_t dummy_connection(ap_pod_t *pod)
 
         ap_log_error(APLOG_MARK, log_level, rv, ap_server_conf, APLOGNO(00056)
                      "connect to listener on %pI", lp->bind_addr);
+        apr_pool_destroy(p);
+        return rv;
     }
 
     /* Create the request string. We include a User-Agent so that