OpenDOF Project
void(* const DOSCallbacks::DOSApplicationCallbacks_t::Free)(void *ptr, DOSMemoryHint hint)

Free (deallocate) memory.

This is called by COS to deallocate memory previously allocated. The simplest implementation is to use the default platform's standard free call, ignoring the hint.

This callback must not be NULL.

Parameters
ptrThe pointer, as returned from a previous call to the Alloc callback. This may be NULL, in which case no action should be taken.
hintA hint to indicate the type of memory that is being freed. See DOSMemoryHint.
core-c-cos Version 7.0.1 Build 0
2018-02-08