silc_stack_free

SYNOPSIS

    void silc_stack_free(SilcStack stack);

DESCRIPTION

Frees the data stack context. The stack cannot be used anymore after this and all allocated memory are freed.

If `stack' is a child stack, its memory is returned back to its parent. If `stack' is NULL this function does nothing.