Hi,

I have read http://subversion.tigris.org/hacking.html#apr-pools
and http://www.apachetutor.org/dev/pools, but one question
still remains: when is it safe to destroy memory pools which
are passed to APR functions like apr_sockaddr_info_get() ?

Is it safe to do something like

apr_pool_t *pool;
apr_pool_create(&pool, parentPool);
apr_sockaddr_info_get(..., pool);
apr_pool_destroy(pool);

or are there any performance- or other issues with this
approach?

Thanks & Best Regards,

        Andreas

Reply via email to