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>
oldstable
Jacek Caban 2016-05-27 18:35:24 +02:00 committed by Alexandre Julliard
parent e27e733f69
commit 79025d0e6a
1 changed files with 0 additions and 3 deletions

View File

@ -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);