[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]


NAME
    FreeDiskObject - free all memory in a Workbench disk object.

SYNOPSIS
    FreeDiskObject(diskobj)
                    A0

    void FreeDiskObject(struct DiskObject *);

FUNCTION
    This routine frees all memory in a Workbench disk object, and the
    object itself.  It is implemented via FreeFreeList().

    GetDiskObject() takes care of all the initialization required
    to set up the object's free list.  This procedure may ONLY
    be called on a DiskObject allocated via GetDiskObject().

INPUTS
    diskobj -- a pointer to a DiskObject structure

RESULTS
    None

SEE ALSO
    GetDiskObject(), PutDiskObject(), DeleteDiskObject(), FreeFreeList()

BUGS
    None