summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe Orton <jorton@apache.org>2012-03-13 16:03:54 +0100
committerJoe Orton <jorton@apache.org>2012-03-13 16:03:54 +0100
commit3a53586c766596d04c1b35b3300ea05112162eb7 (patch)
treef9b1ee56cc501333b110257bb827948f3464ddd6
parentRebuids various transformations. (diff)
downloadapache2-3a53586c766596d04c1b35b3300ea05112162eb7.tar.xz
apache2-3a53586c766596d04c1b35b3300ea05112162eb7.zip
* server/mpm_unix.c (dummy_connection): Destroy temp pool and return
on connect() failure. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1300171 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--server/mpm_unix.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/mpm_unix.c b/server/mpm_unix.c
index 6b1d6ee183..6c1606568e 100644
--- a/server/mpm_unix.c
+++ b/server/mpm_unix.c
@@ -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