# Synopsis

PDX_MSGT cfg_Terminate(long option)

# Purpose

Terminate the CFG subsystem

# Description

All resources allocated by the CFG subsystem are freed. The configuration model list is cycled. For each configuration model found, this routine calls cfg__FreeModel to free the specified model. This routine calls the function cfg__FreeModel seperately from mda_FreeModel. The model information free-model-pointer was never set to make sure that the user does not try to free each configuration model separately. The only way to free the configuration models is by invoking this routine. This routine is automatically called from pdx_Terminate.

# Input

## option

Option (not used)

# Return

CFG error code