free

The free v4 API method frees an allocated block of memory.

Declaration

void free(
     a_v4_extfn_proc_context *cntxt,
     void *mem
)

Usage

Frees the memory allocated by alloc() for the specified lifetime.

Memory tracking is enabled only when external_UDF_execution_mode is set to a value of 1 or 2 (validation mode or tracing mode).

Parameters

Parameter Description
cntxt The procedure context object
mem Pointer to the memory allocated using the alloc method
Related tasks
Enabling Memory Tracking
Related reference
alloc