This function will free all the elements in an option_t type linked list starting from the node passed as a parameter.
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.
See Implementation
This function will free all the elements in an option_t type linked list starting from the node passed as a parameter.