--- a/ui/motif/list.c Sun Dec 07 12:12:02 2025 +0100 +++ b/ui/motif/list.c Sun Dec 07 12:24:12 2025 +0100 @@ -130,7 +130,11 @@ } void ui_listview_destroy(Widget w, UiListView *listview, XtPointer d) { - // TODO + ui_listselection_free(listview->current_selection); + if(listview->model) { + ui_model_unref(listview->model); + } + free(listview); } static void list_callback(UiObject *obj, UiListSelection sel, ui_callback callback, void *userdata) {