2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
8 #include "icon_intern.h"
10 /*****************************************************************************
13 #include <proto/icon.h>
15 AROS_LH1(void, FreeFreeList
,
18 AROS_LHA(struct FreeList
*, freelist
, A0
),
21 struct IconBase
*, IconBase
, 9, Icon
)
24 Frees all memory chunks in the freelist (previously inserted into
25 it via AddFreeList()).
28 freelist - pointer to FreeList struct. It is safe to use NULL.
43 *****************************************************************************/
49 if ( ! freelist
) return;
51 while ((node
= (struct MemList
*)RemTail(&freelist
->fl_MemList
)) != NULL
)