From 3a53586c766596d04c1b35b3300ea05112162eb7 Mon Sep 17 00:00:00 2001 From: Joe Orton Date: Tue, 13 Mar 2012 15:03:54 +0000 Subject: [PATCH] * 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 --- server/mpm_unix.c | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.40.0