msctf: Don't call ITextStoreACP::UnadviseSink in context destructor.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
e27e733f69
commit
79025d0e6a
|
@ -119,10 +119,7 @@ static void Context_Destructor(Context *This)
|
|||
TRACE("destroying %p\n", This);
|
||||
|
||||
if (This->pITextStoreACP)
|
||||
{
|
||||
ITextStoreACP_UnadviseSink(This->pITextStoreACP, (IUnknown*)&This->ITextStoreACPSink_iface);
|
||||
ITextStoreACP_Release(This->pITextStoreACP);
|
||||
}
|
||||
|
||||
if (This->pITfContextOwnerCompositionSink)
|
||||
ITfContextOwnerCompositionSink_Release(This->pITfContextOwnerCompositionSink);
|
||||
|
|
Loading…
Reference in New Issue