IP_MsgDestroy

Cogent API and Utilities: Version 4.1
Prev |  | Next

# `IP_MsgDestroy`

`IP_MsgDestroy` -- frees memory associated with a message.

## Syntax

``void IP_MsgDestroy`(IP_Msg* message);`

## Arguments

`message`

  A pointer to a message.

## Returns

Nothing.

## Description

This function cleans up all memory associated with the `message`. If the `message` is marked as dynamic, then the `msg` portion of the `IP_Msg` is also freed.

## See Also

Messages, `IP_MsgCreate`

Prev | Home | Next
`IP_MsgDefaultSize` | Up | `IP_MsgInfoReply`

Copyright 1995-2002 by Cogent Real-Time Systems, Inc.