From: Joe Orton Date: Tue, 13 Mar 2012 15:03:54 +0000 (+0000) Subject: * server/mpm_unix.c (dummy_connection): Destroy temp pool and return X-Git-Tag: 2.5.0-alpha~7380 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3a53586c766596d04c1b35b3300ea05112162eb7;p=thirdparty%2Fapache%2Fhttpd.git * 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 --- diff --git a/server/mpm_unix.c b/server/mpm_unix.c index 6b1d6ee183d..6c1606568e1 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