Error

ErrorFree

Release an Error object, its texts and its args

Syntax

Signature
void        ErrorFree( Error *error );

Arguments

error the Error object to release, or NULL to do nothing.

Description

The array of args is released only when nothing else refers to it. The application remains responsible for the data pointed to by the cargo.

See also