diff options
| author | 2017-12-04 09:38:29 +0100 | |
|---|---|---|
| committer | 2017-12-04 18:34:03 +0100 | |
| commit | 03e87437e31fb134d77041f57d5d944daaf32225 (patch) | |
| tree | 3f7f44b233106d4dfe8dccaea4daf8e803164b0a /core/subsurface-qt/DiveObjectHelper.h | |
| parent | cab0699d4c50af126b84d637e5801ecb8cf26638 (diff) | |
| download | subsurface-03e87437e31fb134d77041f57d5d944daaf32225.tar.gz | |
Gracefully handle deletion of a picture that doesn't exist
The list iteration in dive_remove_picture() was buggy and would
crash if handled a picture that is not in the list.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/subsurface-qt/DiveObjectHelper.h')
0 files changed, 0 insertions, 0 deletions