[−][src]Function mmal_sys::mmal_pool_destroy
pub unsafe extern "C" fn mmal_pool_destroy(pool: *mut MMAL_POOL_T)
Destroy a pool of MMAL_BUFFER_HEADER_T. This will also deallocate all of the memory which was allocated when creating or resizing the pool.
If payload buffers have been allocated independently by the client, they should be released prior to calling this function. If the client provided allocator functions, the allocator_free function shall be called for each payload buffer.
@param pool Pointer to a pool