[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