summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--planner.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/planner.c b/planner.c
index 67d999fa3..e3d14ca07 100644
--- a/planner.c
+++ b/planner.c
@@ -1340,6 +1340,7 @@ bool plan(struct diveplan *diveplan, char **cached_datap, bool is_planner, bool
free(stoplevels);
free(gaschanges);
+ free(bottom_cache);
return decodive;
}