summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/divesite.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/divesite.c b/core/divesite.c
index 3045b580e..e84ec1dcc 100644
--- a/core/divesite.c
+++ b/core/divesite.c
@@ -175,6 +175,7 @@ void delete_dive_site(uint32_t id)
if (ds->uuid == id) {
free(ds->name);
free(ds->notes);
+ free_taxonomy(&ds->taxonomy);
free(ds);
if (nr - 1 > i)
memmove(&dive_site_table.dive_sites[i],