From ae5216a58b3f2a5fb2ca6031f28e6fe9d66bd59d Mon Sep 17 00:00:00 2001 From: Andy Shaw <andy.shaw@digia.com> Date: Fri, 24 Oct 2014 19:58:33 +0200 Subject: [PATCH] Release the connection after removing it from the list 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> --- src/activeqt/control/qaxserverbase.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/activeqt/control/qaxserverbase.cpp b/src/activeqt/control/qaxserverbase.cpp index ce57bf1c..21503615 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; -- GitLab