summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Shaw <andy.shaw@digia.com>2014-10-24 19:58:33 +0200
committerAndy Shaw <andy.shaw@digia.com>2014-10-27 22:41:54 +0100
commitae5216a58b3f2a5fb2ca6031f28e6fe9d66bd59d (patch)
treee84ee0b4123451e6b4673d909910fa2615749165
parentfd6f82f5ea6b46aedc26a71b97793e065df09b73 (diff)
Release the connection after removing it from the listv5.4.0-rc1v5.4.0
This got accidently removed in the 0d29579baffd4f31a3ec39590117f4fee821694d change so this reintroduces it. Change-Id: I8d1eabc9f7f42852c29173f0034a9d6a2183e35a Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com> Reviewed-by: Sergey Korepanov <SergeyKorepanov@gmail.com>
-rw-r--r--src/activeqt/control/qaxserverbase.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/activeqt/control/qaxserverbase.cpp b/src/activeqt/control/qaxserverbase.cpp
index ce57bf1..2150361 100644
--- a/src/activeqt/control/qaxserverbase.cpp
+++ b/src/activeqt/control/qaxserverbase.cpp
@@ -696,6 +696,7 @@ public:
const int count = connections.count();
for (int i = 0; i < count; ++i) {
if (connections.at(i).dwCookie == dwCookie) {
+ connections.at(i).pUnk->Release();
connections.removeAt(i);
if (current >= i && current != 0)
--current;