summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/divelist.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/core/divelist.c b/core/divelist.c
index 7c3201a3d..87151558a 100644
--- a/core/divelist.c
+++ b/core/divelist.c
@@ -1426,9 +1426,6 @@ void clear_dive_file_data()
clear_dive(&displayed_dive);
clear_dive_site(&displayed_dive_site);
- free((void *)existing_filename);
- existing_filename = NULL;
-
reset_min_datafile_version();
saved_git_id = "";
}