summaryrefslogtreecommitdiffstats
path: root/core/divelist.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/divelist.c')
-rw-r--r--core/divelist.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/divelist.c b/core/divelist.c
index 8881aceeb..be0d95852 100644
--- a/core/divelist.c
+++ b/core/divelist.c
@@ -715,6 +715,7 @@ void free_trip(dive_trip_t *trip)
if (trip) {
free(trip->location);
free(trip->notes);
+ free(trip->dives.dives);
free(trip);
}
}