diff options
Diffstat (limited to 'core/divelist.c')
-rw-r--r-- | core/divelist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/divelist.c b/core/divelist.c index db84f53cf..88a4de152 100644 --- a/core/divelist.c +++ b/core/divelist.c @@ -1691,7 +1691,7 @@ void clear_dive_file_data() void clear_table(struct dive_table *table) { for (int i = 0; i < table->nr; i++) - free(table->dives[i]); + free_dive(table->dives[i]); table->nr = 0; } |