[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; as of v44,
            a NULL diskobj pointer will be ignored.

   SEE ALSO
        icon.library/getdiskobject
        icon.library/putdiskobject
        icon.library/deletediskobject
        icon.library/freefreelist
        icon.library/geticontaglist
        icon.library/puticontaglist