Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
apr_pools: Set APR_POOL_DEBUG's pool->owner before using the pool.
The mutex synchronizing the pool in APR_POOL_DEBUG mode is created by apr_pool_create_ex_debug() on the created pool itself but before initialising the ->owner thread, so apr_thread_mutex_create() can abort() when reaching apr_pool_check_owner() if APR_POOL_DEBUG_OWNER is set. Move the ->owner initialisation before creating the ->mutex. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1916278 13f79535-47bb-0310-9956-ffa450edef68
- Loading branch information