L_FreeBuffer

include "l_bitmap.h"

L_LTKRN_API L_VOID L_FreeBuffer(pBuffer)

Generic function to free data allocated by a LEADTOOLS function.

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

Platforms

Win32, x64, Linux.

Help Version 21.0.2021.7.5
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.