summaryrefslogtreecommitdiff
path: root/network_io
diff options
context:
space:
mode:
Diffstat (limited to 'network_io')
-rw-r--r--network_io/unix/sockets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/network_io/unix/sockets.c b/network_io/unix/sockets.c
index 72a16a019..45d1d7040 100644
--- a/network_io/unix/sockets.c
+++ b/network_io/unix/sockets.c
@@ -225,7 +225,7 @@ apr_status_t apr_accept(apr_socket_t **new, apr_socket_t *sock, apr_pool_t *conn
pool for the accepted socket back to what it should be. Otherwise all
allocations for this socket will come from a server pool that is not
freed until the process goes down.*/
- (*new)->local_addr->pool = p;
+ (*new)->local_addr->pool = connection_context;
/* fix up any pointers which are no longer valid */
if (sock->local_addr->sa.sin.sin_family == AF_INET) {