L_FreeBuffer (original) (raw)
Summary
Generic function to free data allocated by a LEADTOOLS function.
Syntax
#include "l_bitmap.h"
L_LTKRN_API L_VOID L_FreeBuffer(pBuffer)
Parameters
L_VOID* pBuffer
Pointer to the buffer to the data to be freed. If the value is NULL
, then the function will not perform any action.
Comments
L_FreeBuffer
is a generic function to free the memory allocated by LEADTOOLS in various functions. The Comments section or the function which allocated the buffer will indicate when to use L_FreeBuffer
.
For example, L_ExtractAttachment can allocate memory which has to be freed using L_FreeBuffer.
Required DLLs and Libraries
- LTKRN
- For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.
Platforms
Win32, x64, Linux.
See Also
LEADTOOLS Raster Imaging C API Help