diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2017-11-11 19:40:47 +0100 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2017-11-11 21:01:42 +0100 |
commit | efabf0a55cfe8be542fc9c694721d32ecd86583c (patch) | |
tree | 34aab5ba9a0475a0414ea17ee3969fea5fcb3725 /scripts/linux/travisbuild.sh | |
parent | 35c5016777d902a2c2ae62bc135e5af0c05fbc14 (diff) | |
download | subsurface-efabf0a55cfe8be542fc9c694721d32ecd86583c.tar.gz |
Fix memory leak in download-from-dive-computer widget
Instead of (re)allocating the vendor and product models, use the
setStringList method on sub objects.
Even though only a theoretical problem, the model objects are moved
in front of the ui object, so that the widgets referencing the models
are destroyed first.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'scripts/linux/travisbuild.sh')
0 files changed, 0 insertions, 0 deletions