fix memory leak in QAxServerBase::internalActivate
authorJoerg Bornemann <joerg.bornemann@digia.com>
Tue, 30 Apr 2013 08:19:38 +0000 (10:19 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 30 Apr 2013 08:38:54 +0000 (10:38 +0200)
commit7f79e04a22673dc2b8ae264452d851f5a13d11cd
tree572065f0121fef73533e91c11d828c0cef422301
parente1084919118eae19abc43e06de24dd8467dc6356
fix memory leak in QAxServerBase::internalActivate

There is no need to call QStringToBSTR, because the method
IOleInPlaceUIWindow::SetActiveObject expects an POLESTR, not a PBSTR.

Task-number: QTBUG-30890

Change-Id: I98e42d400400cae849198d2d9c7cbb9c6de7991d
Reviewed-by: Andy Shaw <andy.shaw@digia.com>
Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com>
src/activeqt/control/qaxserverbase.cpp