Apache 1.3 API Documentation

Routine ap_destroy_pool

Definition:

void ap_destroy_pool(pool *p);
     

Usage example:

ap_child_exit_modules(pconf, server_conf);
ap_destroy_pool(pchild);
     

This function will recursively destroy the specified pool allocation area and any sub-pools of it, making any memory allocated to them available for use elsewhere. Cleanups for the contents of the destroyed pool are run, after the subpools have been reclaimed.

See also:
ap_bytes_in_pool, ap_clear_pool, ap_find_pool, ap_make_sub_pool, ap_palloc, ap_pcalloc, ap_pclosedir, ap_pclosef, ap_pclosesocket, ap_pduphostent, ap_pfclose, ap_pfdopen, ap_pfopen, ap_pgethostbyname, ap_pool, ap_pool_is_ancestor, ap_pool_join, ap_popendir, ap_popenf, ap_pregcomp, ap_pregfree, ap_psocket, ap_pstrcat, ap_pstrdup, ap_pstrndup, pool

Previous: ap_destroy_mutex Next: ap_destroy_sub_req

Table of Contents (Routines, Structures, Data Cells, Constants)