FreeOptList

This function will free all the elements in an option_t type linked list starting from the node passed as a parameter.

extern (C) pure nothrow @trusted @nogc
void
FreeOptList

Parameters

list .option_t*

head of linked list to be freed

Effects: All elements of the linked list pointed to by list will be freed and list will be set to null.

Meta