L_FreeBuffer

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

Platforms

Win32, x64, Linux.

See Also

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

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