diff -r 536646d1575b -r b070ef465313 src/list.c --- a/src/list.c Mon Apr 18 15:59:09 2022 +0200 +++ b/src/list.c Mon Apr 18 16:29:14 2022 +0200 @@ -32,7 +32,7 @@ if (list->content_destructor != NULL) { CxIterator iter = cxListBegin(list); cx_foreach(void*, elem, iter) { - cxFree(list->allocator, list->content_destructor(elem)); + list->content_destructor(elem); } } list->cl->destructor(list);