diff -r ae61523bce20 -r 2f71f4ee247a application/config.c --- a/application/config.c Thu Oct 03 18:52:51 2024 +0200 +++ b/application/config.c Sun Oct 06 18:18:04 2024 +0200 @@ -436,7 +436,7 @@ * location strings. We need a list, that contains only urls */ CxList *locations = cxLinkedListCreate(cxDefaultAllocator, (cx_compare_func)cmp_url_cred_entry, CX_STORE_POINTERS); - locations->simple_destructor = (cx_destructor_func)free_cred_location; + cxDefineDestructor(locations, free_cred_location); CxIterator i = cxListIterator(secrets->locations); cx_foreach(PwdIndexEntry*, e, i) { CxIterator entry_iter = cxListIterator(e->locations);