diff options
author | Jan Mulder <jlmulder@xs4all.nl> | 2018-01-07 10:53:13 +0100 |
---|---|---|
committer | Jan Mulder <jlmulder@xs4all.nl> | 2018-01-07 13:02:27 +0100 |
commit | 04626b089126c67237a579c943d2d36d9ff53f8a (patch) | |
tree | ca07ee4476b3f4aa8b282785c08b8be0f4e444b2 /tests | |
parent | e5980942aabc55b760693acaacbde77c9ed799d2 (diff) | |
download | subsurface-04626b089126c67237a579c943d2d36d9ff53f8a.tar.gz |
Fix small memory leak
When deleting a dive from the divelist model, also free the
pointed to DiveObjectHelper data. There seems no harm done
(other than a memory leak) by this missing free.
Found while (again) investigating the infamous crash occuring
when deleting a dive from the mobile app when deleting a dive
from the dive list.
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions