cs_destroy (3) - Linux Man Pages

cs_destroy: clean up and dealloc a parse tree

NAME

cs_destroy - clean up and dealloc a parse tree

SYNOPSIS

#include <cs/cs.h>

void cs_destroy (CSPARSE **parse);

ARGUMENTS

parse - a pointer to a parse structure.

DESCRIPTION

cs_destroy will clean up all the memory associated with a CSPARSE structure, including strings passed to cs_parse_string. This does not clean up any memory allocated by your own CSOUTFUNC or the HDF data structure passed to cs_init. It is safe to call this with a NULL pointer, and it will leave parse NULL as well (ie, it can be called more than once on the same var)

RETURN VALUE

parse - will be NULL