ListDisposePtrList

void ListDisposePtrList (ListType listToDispose);

Purpose

Disposes of all items in a list by calling free on each item and frees the memory allocated for the list.

Parameters

Input
Name Type Description
listToDispose ListType Pass the list to dispose. If you pass zero (or NULL), the function returns without performing any action.

Return Value

None.