Hi,

I'd like to make sure the apr_pool_create(_ex)
returns error in case apr was terminated, meaning
apr_pool_terminate() was called and apr_pools_initialized is 0.

Seems we are missing that check in apr_pool_create_ex,
and I think APR_ENOMEM is correct error code we could
return in that case (or perhaps APR_EINVAL)

Comments?

Regards,
Mladen

Reply via email to