optionFree3
Free allocated option processing memory
Usage
#include <your-opts.h>
cc [...] -o outfile infile.c -lopts [...]
void optionFree(tOptions * pOpts);
Overview
AutoOpts sometimes allocates memory and puts pointers to it in the option state structures. This routine deallocates all such memory.
- pOpts
-
program options descriptor
Errors
As long as memory has not been corrupted, this routine is always successful.
Releases
12 releases since Debian 3.1 (Sarge); the text changed 11 times.