|
The mi_free() routine frees the memory that was previously allocated with the mi_alloc(), mi_dalloc(), or mi_zalloc() function.
The mi_free() function frees the memory that ptr references. This function behaves just like the free() system call, except that it frees memory that one of the DataBlade API memory-management routines has allocated. The mi_free() function does not free memory allocated with malloc().
In client LIBMI applications, you must call mi_free() to free memory that it has allocated with mi_alloc(), mi_dalloc(), or mi_zalloc(). Otherwise, this memory is not freed until the client LIBMI application exits. The database server does not automatically free memory for client LIBMI applications.
None.
See the descriptions of the following functions: mi_alloc(), mi_dalloc(), mi_switch_mem_duration(), and mi_zalloc().