From: Jeff Trawick Date: Mon, 18 Feb 2002 16:24:51 +0000 (+0000) Subject: close a nearly-impossible leak in dummy_connection (the copy of the X-Git-Tag: 2.0.33~205 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e821b24c998590a07561a7118ef524dbeb749e9e;p=apache close a nearly-impossible leak in dummy_connection (the copy of the code used by worker MPM) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93480 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/worker/pod.c b/server/mpm/worker/pod.c index c869e43832..1067f284d3 100644 --- a/server/mpm/worker/pod.c +++ b/server/mpm/worker/pod.c @@ -181,6 +181,7 @@ static apr_status_t dummy_connection(ap_pod_t *pod) if (rv != APR_SUCCESS) { ap_log_error(APLOG_MARK, APLOG_WARNING, rv, ap_server_conf, "set timeout on socket to connect to listener"); + apr_socket_close(sock); return rv; }