summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2011-07-08 03:14:06 +1000
committerQt Continuous Integration System <qt-info@nokia.com>2011-07-08 03:14:06 +1000
commit285cc2d35bd102b26734587341f370b490b11b8f (patch)
tree09075ecca2e92cff6e68179b277eb6a08f6e34f9 /src/network
parent24753b5a35565f515d2ef63b09a87a015f9c37bf (diff)
parent73df7890923f377f19147466d9317fe1ec064b1d (diff)
downloadqt4-tools-285cc2d35bd102b26734587341f370b490b11b8f.tar.gz
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public: Fix memory leak in QHostInfo
Diffstat (limited to 'src/network')
-rw-r--r--src/network/kernel/qhostinfo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/kernel/qhostinfo.cpp b/src/network/kernel/qhostinfo.cpp
index 328145c704..94fd6928a5 100644
--- a/src/network/kernel/qhostinfo.cpp
+++ b/src/network/kernel/qhostinfo.cpp
@@ -481,6 +481,7 @@ void QHostInfoRunnable::run()
iterator.remove();
hostInfo.setLookupId(postponed->id);
postponed->resultEmitter.emitResultsReady(hostInfo);
+ delete postponed;
}
}
}