--- a/src/server/daemon/log.c Mon Feb 10 17:44:51 2025 +0100 +++ b/src/server/daemon/log.c Sun Mar 02 18:10:52 2025 +0100 @@ -255,7 +255,7 @@ void log_remove_logdup(LogDup *ldup) { pthread_mutex_lock(&mutex); - CxMutIterator i = cxListMutIterator(log_dup_list); + CxIterator i = cxListMutIterator(log_dup_list); WSBool finished = 0; cx_foreach(LogDup *, dup, i) { if(finished) break; @@ -416,14 +416,14 @@ } void shutdown_logging(void) { - CxIterator i = cxMapIteratorValues(access_log_files); + CxMapIterator i = cxMapIteratorValues(access_log_files); cx_foreach(LogFile *, log, i) { fclose(log->file); free(log); } - cxMapDestroy(access_log_files); + cxMapFree(access_log_files); if(log_dup_list) { - cxListDestroy(log_dup_list); + cxListFree(log_dup_list); } }