KCML_Debug_LeakCheck
Purpose
Check for memory leaks in the specified region
Definition
DEFSUB 'KCML_Debug_LeakCheck(region) AS Bool
Parameters
| region | Region (from _KCML_MEM_MM (Generic), _KCML_MEM_CG (cgen), _KCML_MEM_PR (program), _KCML_MEM_DS (i/o structs), _KCML_MEM_LS (Load / Save), _KCML_MEM_CO (Console), _KCML_MEM_SH (Shared memory), _KCML_MEM_SX (Cross-reference), _KCML_MEM_ED (Editor), _KCML_MEM_EV (Env), _KCML_MEM_TR (Trap), _KCML_MEM_OB (Object), _KCML_MEM_SY (Symbol table), _KCML_MEM_HE (Help), _KCML_MEM_TE (Temporary), _KCML_MEM_IN (Initialisation), _KCML_MEM_LO (Local variable), _KCML_MEM_KI (KDB), _KCML_MEM_OC (OCI), _KCML_MEM_RC (Recreator), _KCML_MEM_HH (Handle), _KCML_MEM_SO (SOAP server), _KCML_MEM_EX (external libraries), _KCML_MEM_CL (Class based), _KCML_MEM_AR (Array data), _KCML_MEM_MV (KCML7 Module vars), _KCML_MEM_LV (KCML7 Local Var table), _KCML_MEM_7S (KCML7 object name table), _KCML_MEM_NF (Browser Client), _KCML_MEM_AM (Memory Mapped Array), _KCML_MEM_MP (Memory Pool), _KCML_MEM_MA (Memory Pool), _KCML_MEM_DY (external xml/xalan libraries), _KCML_MEM_MQ (AMQP), ) |
Return
Returns TRUE if no leak is found. On release builds where limited information is tracked this function will always return TRUE.
Description
On debug builds find any memory leaks for a particular section.
See also
Internal KCML Functions, Internally defined structures and Internally defined enumerations and constants.