Home  /  Autodocs  /  trackfile.device

NAME

TFFreeUnitData
Free the copy of the unit information allocated by the TFGetUnitData function().

SYNOPSIS

TFFreeUnitData(data)
A0

VOID TFFreeUnitData(struct TrackFileUnitData * data);

FUNCTION

The data returned by the TFGetUnitData() function needs to be freed when no longer needed. Each "snaphot" of the current unit state takes up memory which should be released as soon as possible.

INPUTS

data
Pointer to the "struct TrackFileUnitData" list as returned by the TFGetUnitData() function. This may be NULL.

SEE ALSO

<devices/trackdisk.h>, <devices/trackfile.h>, TFGetUnitData()