summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/locationinformation.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2018-10-11 20:46:44 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-10-11 16:25:02 -0700
commit04ad9c885da672b476d3abf4bc33ba172868eb61 (patch)
tree3f0da41213aae9b7492b53fa4807f80294800d8f /desktop-widgets/locationinformation.h
parentcb2f09a8e3673e420970d1d2c0f5c1688a0e1fbf (diff)
downloadsubsurface-04ad9c885da672b476d3abf4bc33ba172868eb61.tar.gz
Geo lookup: make the reply a managed-pointer
By making reply a std::unique_ptr<>, the function can be quit from any point and the reply will be freed. This is valid according to Qt's documentation as we're not deleting during signal processing. This commit fixes a leak: reply was overwritten with the address of a new object without freeing the old object. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/locationinformation.h')
0 files changed, 0 insertions, 0 deletions