mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
Avoid resource leak
Coverity CID 1325288 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
6979ebfdae
commit
b41773734b
1 changed files with 1 additions and 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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue