<< Previous | Next >> | |
|
void pfree( Pool_t * p, void * e );
Description
- Free an element that was obtained via
palloc()
. Note: if you free an element that was not allocated from this pool, or was already free, or was outside the pool, then your application will crash! You can detect most of these programming errors by defining the following symbols before#use pool.lib
:POOL_DEBUG
POOL_VERBOSEParameters
- p
- Pool handle structure, as previously passed to
palloc()
.
- e
- Element to free, which was returned from
palloc()
.
Return value
- None
Library
- POOL.LIB
See Also
- pool_init, palloc, pcalloc, phwm, pavail
Dynamic C Functions | << Previous | Next >> | rabbit.com |