diff options
author | Andy Shaw <andy.shaw@digia.com> | 2014-10-24 19:58:33 +0200 |
---|---|---|
committer | Andy Shaw <andy.shaw@digia.com> | 2014-10-27 22:41:54 +0100 |
commit | ae5216a58b3f2a5fb2ca6031f28e6fe9d66bd59d (patch) | |
tree | e84ee0b4123451e6b4673d909910fa2615749165 | |
parent | fd6f82f5ea6b46aedc26a71b97793e065df09b73 (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.cpp | 1 |
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; |