diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-10-01 20:39:32 -0400 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-10-01 21:11:23 -0400 |
commit | b41773734bdfa60c889c1ba01904a9c03a130d3c (patch) | |
tree | 24041710bd174d33c5ce9e3a02544616aa28814f /planner.c | |
parent | 6979ebfdae328799a5c3f8dabc82c15299d56943 (diff) | |
download | subsurface-b41773734bdfa60c889c1ba01904a9c03a130d3c.tar.gz |
Avoid resource leak
Coverity CID 1325288
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'planner.c')
-rw-r--r-- | planner.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; } |