422:afd87df80b13 | 423:4cea6e50175b |
---|---|
169 | 169 |
170 return list; | 170 return list; |
171 } | 171 } |
172 | 172 |
173 void cxLinkedListDestroy(CxList list) { | 173 void cxLinkedListDestroy(CxList list) { |
174 | 174 // TODO: free contents |
175 cxFree(list->data.allocator, list); | |
175 } | 176 } |
176 | 177 |
177 size_t cxLinkedListRecalculateSize(CxList list) { | 178 size_t cxLinkedListRecalculateSize(CxList list) { |
178 cx_linked_list *ll = (cx_linked_list *) list->data.listdata; | 179 cx_linked_list *ll = (cx_linked_list *) list->data.listdata; |
179 | 180 |