diff options
| author | 2015-10-03 09:44:16 -0400 | |
|---|---|---|
| committer | 2015-10-03 09:44:16 -0400 | |
| commit | 69036a1bb777b3a4c6f9b6217049899c2ec267b3 (patch) | |
| tree | 57669d5204ca8308eb15ca5de48f953a34d42a46 /CodingStyle | |
| parent | b2fcc7c8139742aa9a984d6f36f968bc4a9ed742 (diff) | |
| download | subsurface-69036a1bb777.tar.gz | |
Avoid resource leak by bailing early
While in the current use this won't happen, if someone were to call
split_dive_at with a dive that's not in the dive_table, let's bail right
away before doing any work.
Coverity CID 1325517 1325518
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'CodingStyle')
0 files changed, 0 insertions, 0 deletions