summaryrefslogtreecommitdiff
path: root/server/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'server/util.c')
-rw-r--r--server/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/util.c b/server/util.c
index 4c8101e58c..77c4095637 100644
--- a/server/util.c
+++ b/server/util.c
@@ -3385,12 +3385,12 @@ AP_DECLARE(apr_status_t) ap_thread_current_create(apr_thread_t **current,
abort_fn(rv);
return rv;
}
+ /* Don't let the thread's pool allocator with no limits */
apr_allocator_max_free_set(ta, ap_max_mem_free);
rv = apr_pool_create_unmanaged_ex(&p, abort_fn, ta);
if (rv != APR_SUCCESS) {
return rv;
}
- /* Don't let the thread's pool allocator with no limits */
apr_allocator_owner_set(ta, p);
osthd = apr_os_thread_current();