diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2018-10-15 21:58:30 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-10-15 21:00:45 -0400 |
commit | 763c3683e58684f296d6b66835ca6d84e14b3900 (patch) | |
tree | 1e87a5ffb7843acc02a821fd35da3f935bbb138a /core/format.cpp | |
parent | 7f49e43d767211a654d26240b5a33397153265ef (diff) | |
download | subsurface-763c3683e58684f296d6b66835ca6d84e14b3900.tar.gz |
Core: fix broken commit e5dca8228e
In commit e5dca8228e6b60cac5957726700c66d0565c064e a fixed order
of the arguments to merge_dives() was introduced: first dive old,
second dive downloaded. This made the dl variable, which pointed
to the downloaded dive useless. One instance was forgotten, which
led to a null-dereference.
Remove.
Reported-by: Dirk Hohndel <dirk@hohndel.org>
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/format.cpp')
0 files changed, 0 insertions, 0 deletions