Commit 2288851c authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

msctf: Also free the sink in the non-source branch (Coverity).

parent 43960563
......@@ -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);
......
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