The dtFree function is used to release memory allocated by D-Type Standard Engine. Any memory allocated by a call to one of D-Type Standard Engine functions is owned by D-Type Standard Engine and must be freed by dtFree.
Parameter | Description |
---|---|
mem_addr |
Memory address at which the memory block to be released begins. This must be a valid pointer to a memory buffer that was previously allocated by one of D-Type Standard Engine's memory allocation functions (e.g. dtFontSaveToStream using a DT_STREAM_DESC structure that supplies a memory based stream). |