Marcus Meissner : msctf: Also free the sink in the non-source branch ( Coverity).
Alexandre Julliard
julliard at winehq.org
Mon Sep 3 13:19:15 CDT 2012
Module: wine
Branch: master
Commit: 2288851c90197398e9cae200deaff34c29af6754
URL: http://source.winehq.org/git/wine.git/?a=commit;h=2288851c90197398e9cae200deaff34c29af6754
Author: Marcus Meissner <meissner at suse.de>
Date: Mon Sep 3 19:07:55 2012 +0200
msctf: Also free the sink in the non-source branch (Coverity).
---
dlls/msctf/tests/inputprocessor.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/dlls/msctf/tests/inputprocessor.c b/dlls/msctf/tests/inputprocessor.c
index a732730..027795d 100644
--- a/dlls/msctf/tests/inputprocessor.c
+++ b/dlls/msctf/tests/inputprocessor.c
@@ -1901,10 +1901,9 @@ static void test_TStoApplicationText(void)
{
hr = ITfSource_UnadviseSink(source, editSinkCookie);
ok(SUCCEEDED(hr),"Failed to unadvise Sink\n");
- ITfTextEditSink_Release(sink);
ITfSource_Release(source);
}
-
+ ITfTextEditSink_Release(sink);
ITfContext_Release(cxt);
ITfDocumentMgr_Release(dm);
ITfEditSession_Release(es);
More information about the wine-cvs
mailing list