summaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/maintab.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp
index 8b141a16f..c6660fc6b 100644
--- a/qt-ui/maintab.cpp
+++ b/qt-ui/maintab.cpp
@@ -1184,6 +1184,8 @@ void MainTab::saveTags()
taglist_free(mydive->tag_list);
mydive->tag_list = new_tag_list;
);
+ taglist_free(added_list);
+ taglist_free(removed_list);
}
// buddy and divemaster are represented in the UI just like the tags, but the internal