# Synopsis

PDX_MSGT mda_FreeAll(long option, void *ent)

# Purpose

Free a memory allocated to an entity.

# Description

Memory which was allocated to ent via one of the mda memory allocation functions will be freed. This has the same effect as calling mda_Free/mda_FreeArray on each allocated pointer in the entity. The entity itself is not freed.

# Input

## option

Options (not used)

## ent

The entity whose memory is to be freed