1.1 --- a/ucx/list.c Mon Jun 02 16:04:11 2014 +0200 1.2 +++ b/ucx/list.c Tue Jun 10 15:43:13 2014 +0200 1.3 @@ -72,7 +72,7 @@ 1.4 while (e != NULL) { 1.5 f = e; 1.6 e = e->next; 1.7 - alloc->free(alloc->pool, f); 1.8 + alfree(alloc, f); 1.9 } 1.10 } 1.11 1.12 @@ -81,7 +81,7 @@ 1.13 } 1.14 1.15 UcxList *ucx_list_append_a(UcxAllocator *alloc, UcxList *l, void *data) { 1.16 - UcxList *nl = (UcxList*) alloc->malloc(alloc->pool, sizeof(UcxList)); 1.17 + UcxList *nl = (UcxList*) almalloc(alloc, sizeof(UcxList)); 1.18 if (!nl) { 1.19 return NULL; 1.20 } 1.21 @@ -323,6 +323,6 @@ 1.22 e->prev->next = e->next; 1.23 } 1.24 1.25 - alloc->free(alloc->pool, e); 1.26 + alfree(alloc, e); 1.27 return l; 1.28 }