summaryrefslogtreecommitdiffstats
path: root/core/divelist.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/divelist.c')
-rw-r--r--core/divelist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/divelist.c b/core/divelist.c
index d1d326209..6197f23b9 100644
--- a/core/divelist.c
+++ b/core/divelist.c
@@ -1687,7 +1687,7 @@ void clear_dive_file_data()
while (dive_table.nr)
delete_single_dive(0);
while (dive_site_table.nr)
- delete_dive_site(get_dive_site(0)->uuid);
+ delete_dive_site(get_dive_site(0));
clear_dive(&displayed_dive);