diff options
Diffstat (limited to 'divelist.c')
-rw-r--r-- | divelist.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/divelist.c b/divelist.c index bd610ac0a..bb940330c 100644 --- a/divelist.c +++ b/divelist.c @@ -1083,6 +1083,8 @@ static void delete_trip(dive_trip_t *trip) /* .. and free it */ if (trip->location) free(trip->location); + if (trip->notes) + free(trip->notes); free(trip); } |