# Synopsis

PDX_MSGT mda_FreeEntity(long option, void *ent)

# Purpose

Free a memory allocated entity.

# Description

The memory which was occupied the specified entity (including additional memory allocated by mda_Malloc, mda_Calloc, mda_Realloc, and mda_Strdup) will be deallocated. All information in the entity structure will be lost after this function returns.

# Input

## option

Options (not used)

## ent

The entity to be freed