ui/common/types.c

changeset 440
7c4b9cba09ca
parent 395
b8277deb75b8
--- a/ui/common/types.c	Sun Jan 05 17:41:39 2025 +0100
+++ b/ui/common/types.c	Sun Jan 05 22:00:39 2025 +0100
@@ -117,7 +117,7 @@
 }
 
 void ui_list_free(UiList *list) {
-    cxListDestroy(list->data);
+    cxListFree(list->data);
     free(list);
 }
 
@@ -213,7 +213,7 @@
         info->titles[i] = c->name;
         i++;
     }
-    cxListDestroy(cols);
+    cxListFree(cols);
     
     return info;
 }

mercurial