summaryrefslogtreecommitdiffstats
path: root/divelist.c
diff options
context:
space:
mode:
Diffstat (limited to 'divelist.c')
-rw-r--r--divelist.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/divelist.c b/divelist.c
index 75d525ea2..85fb535ed 100644
--- a/divelist.c
+++ b/divelist.c
@@ -2628,6 +2628,8 @@ GtkWidget *dive_list_create(void)
void dive_list_destroy(void)
{
gtk_widget_destroy(dive_list.tree_view);
+ g_object_unref(dive_list.treemodel);
+ g_object_unref(dive_list.listmodel);
}
void mark_divelist_changed(int changed)