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


   NAME
        FreeFreeList - free all memory in a free list.

   SYNOPSIS
        FreeFreeList(free)
                     A0

        void FreeFreeList(struct freelist *);

   FUNCTION
        This routine frees all memory in a free list, and the
        free list itself.  It is useful for easily getting
        rid of all memory in a series of structures.  There is
        a free list in a Workbench object, and this contains
        all the memory associated with that object.

        A freelist is a list of memlist structures.  see the
        memlist and mementry documentation for more information.

        If the freelist itself is in the free list, it must be
        in the first memlist in the freelist.

   INPUTS
        free -- a pointer to a freelist structure; as of v44
            a NULL free parameter will be ignored.

   SEE ALSO
        exec.library/allocentry
        exec.library/freeentry
        icon.library/addfreelist
        workbench/workbench.h