The implementation of the function (found here) shows that the pool
is used to allocate strings representing the individual components of the path.
The reason the function does not create its own local pool is because the pool may be reused across multiple calls to the apr_*()
functions. It just so happens that DB_init()
does not have a need to reuse an apr_pool_t
.