src/linked_list.c

changeset 423
4cea6e50175b
parent 416
a79b2388db5e
child 428
da66264af8ad
     1.1 --- a/src/linked_list.c	Sun Sep 26 14:41:16 2021 +0200
     1.2 +++ b/src/linked_list.c	Sun Sep 26 14:45:42 2021 +0200
     1.3 @@ -171,7 +171,8 @@
     1.4  }
     1.5  
     1.6  void cxLinkedListDestroy(CxList list) {
     1.7 -
     1.8 +    // TODO: free contents
     1.9 +    cxFree(list->data.allocator, list);
    1.10  }
    1.11  
    1.12  size_t cxLinkedListRecalculateSize(CxList list) {

mercurial