diff options
author | David Ostrovsky <david@ostrovsky.org> | 2012-11-03 01:09:35 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-11-05 11:23:27 +0100 |
commit | edd29ae3d8a17e69f5d7bfaff562635322ff21c5 (patch) | |
tree | 7c3f3c63b810ef7965c50b8f2a731ee6f8167d4c /connectivity | |
parent | f8d569846ad04ff80e2810be865cacffd6cc1527 (diff) |
fdo#53070 fix access violation
Through that different initialization pIUnknown
got random address. The consequence was that
if (pIUnknown)
pIUnknown->Release();
ends with access viloation in
WpBase& WpBase::operator=(const WpBase& rhs)
Change-Id: I8b3c5de233d0868fea052c990cc83aed917117ae
(cherry picked from commit ac2cfed553b8c9303f86758e9fe8b70911db00cd)
Signed-off-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/inc/ado/Aolewrap.hxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/connectivity/source/inc/ado/Aolewrap.hxx b/connectivity/source/inc/ado/Aolewrap.hxx index 810603d8e1a0..e4702ae44951 100644 --- a/connectivity/source/inc/ado/Aolewrap.hxx +++ b/connectivity/source/inc/ado/Aolewrap.hxx @@ -103,9 +103,8 @@ namespace connectivity } WpOLEBase(const WpOLEBase<T>& aWrapper) - : WpBase(aWrapper) - , pInterface(aWrapper.pInterface) { + operator=(aWrapper); } virtual ~WpOLEBase() |