Kaydet (Commit) ac2cfed5 authored tarafından David Ostrovsky's avatar David Ostrovsky

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
üst c1b4077d
...@@ -94,9 +94,8 @@ namespace connectivity ...@@ -94,9 +94,8 @@ namespace connectivity
} }
WpOLEBase(const WpOLEBase<T>& aWrapper) WpOLEBase(const WpOLEBase<T>& aWrapper)
: WpBase(aWrapper)
, pInterface(aWrapper.pInterface)
{ {
operator=(aWrapper);
} }
virtual ~WpOLEBase() virtual ~WpOLEBase()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment