ilbmtoicon: Refuse to generate icons with differently sized select and normal images
[AROS.git] / rom / exec / freevecpooled.c
blob89bc9d2c21c73fbb5f777de599f001941f029a1f
1 /*
2 Copyright © 2003-2011, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include <aros/libcall.h>
7 #include <proto/exec.h>
9 #include "exec_intern.h"
11 AROS_LH2(void, FreeVecPooled,
12 AROS_LHA(APTR, pool, D0),
13 AROS_LHA(APTR, memory, D1),
14 struct ExecBase *, SysBase, 170, Exec)
16 AROS_LIBFUNC_INIT
18 if (memory != NULL)
20 IPTR *real = (IPTR *) memory;
21 IPTR size = *--real;
23 FreePooled(pool, real, size);
26 AROS_LIBFUNC_EXIT
27 } /* FreeVecPooled() */