summaryrefslogtreecommitdiffstats
path: root/divesite.c
diff options
context:
space:
mode:
Diffstat (limited to 'divesite.c')
-rw-r--r--divesite.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/divesite.c b/divesite.c
index 5abab7601..5c96bb2dd 100644
--- a/divesite.c
+++ b/divesite.c
@@ -171,7 +171,6 @@ void copy_dive_site(struct dive_site *orig, struct dive_site *copy)
copy->uuid = orig->uuid;
if (orig->taxonomy.category == NULL) {
free_taxonomy(copy->taxonomy.category);
- free(copy->taxonomy.category);
copy->taxonomy.category = NULL;
copy->taxonomy.nr = 0;
} else {