summaryrefslogtreecommitdiffstats
path: root/divelist.c
diff options
context:
space:
mode:
Diffstat (limited to 'divelist.c')
-rw-r--r--divelist.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/divelist.c b/divelist.c
index 8cf079391..36c5883b1 100644
--- a/divelist.c
+++ b/divelist.c
@@ -565,7 +565,8 @@ static void fill_one_dive(struct dive *dive,
DIVE_SUIT, suit,
-1);
- /* this will create a merge conflict with the memory leak patches */
+ free(location);
+ free(cylinder);
free(suit);
}