implement at least freeing the linked list container

Sun, 26 Sep 2021 14:45:42 +0200

author
Mike Becker <universe@uap-core.de>
date
Sun, 26 Sep 2021 14:45:42 +0200
changeset 423
4cea6e50175b
parent 422
afd87df80b13
child 427
ec92b4ed23aa

implement at least freeing the linked list container

src/linked_list.c file | annotate | diff | comparison | revisions
--- a/src/linked_list.c	Sun Sep 26 14:41:16 2021 +0200
+++ b/src/linked_list.c	Sun Sep 26 14:45:42 2021 +0200
@@ -171,7 +171,8 @@
 }
 
 void cxLinkedListDestroy(CxList list) {
-
+    // TODO: free contents
+    cxFree(list->data.allocator, list);
 }
 
 size_t cxLinkedListRecalculateSize(CxList list) {

mercurial