FreeStackAllocatedMemory (FUN)

FUNCTION FreeStackAllocatedMemory

Frees data, which got initialized by stack internal functionalities. The latter initializations may happen when, i.e. a string, which could get changed from any BACnet client, shall be read out and used within IEC, although its size can be only known by the BACnet stack, which then allocates memory for this string, which has to be freed after usage using this function.

InOut:

Scope

Name

Type

Comment

Input

pData

POINTER TO BYTE

Pointer to the data/memory allocated by the BACnet stack to be freed again.