event already had logic in the listener thread error legs to prevent
leaking ptrans, so this is mostly cosmetic.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@307250
13f79535-47bb-0310-9956-
ffa450edef68
}
else {
/* A Listener Socket is ready for an accept() */
- apr_pool_t *recycled_pool = NULL;
lr = (ap_listen_rec *) pt->baton;
- ap_pop_pool(&recycled_pool, worker_queue_info);
+ ap_pop_pool(&ptrans, worker_queue_info);
- if (recycled_pool == NULL) {
+ if (ptrans == NULL) {
/* create a new transaction pool for each accepted socket */
apr_allocator_t *allocator;
return NULL;
}
}
- else {
- ptrans = recycled_pool;
- }
apr_pool_tag(ptrans, "transaction");