Jacek Caban : msctf: Don't call ITextStoreACP:: UnadviseSink in context destructor.
Alexandre Julliard
julliard at winehq.org
Mon May 30 09:43:41 CDT 2016
Module: wine
Branch: master
Commit: 79025d0e6af8189fd6c3360c5bd335954124c205
URL: http://source.winehq.org/git/wine.git/?a=commit;h=79025d0e6af8189fd6c3360c5bd335954124c205
Author: Jacek Caban <jacek at codeweavers.com>
Date: Fri May 27 18:35:24 2016 +0200
msctf: Don't call ITextStoreACP::UnadviseSink in context destructor.
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/msctf/context.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/dlls/msctf/context.c b/dlls/msctf/context.c
index 597706e..54052f6 100644
--- a/dlls/msctf/context.c
+++ b/dlls/msctf/context.c
@@ -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);
More information about the wine-cvs
mailing list