Commit 4f2330ac authored by Kusanagi Kouichi's avatar Kusanagi Kouichi Committed by Alexandre Julliard

winex11: Destroy the handle to the composition string after it is cancelled.

parent ae1b7355
......@@ -775,6 +775,12 @@ BOOL WINAPI NotifyIME(HIMC hIMC, DWORD dwAction, DWORD dwIndex, DWORD dwValue)
X11DRV_ForceXIMReset(lpIMC->hWnd);
if (lpIMC->hCompStr)
{
ImmDestroyIMCC(lpIMC->hCompStr);
lpIMC->hCompStr = NULL;
}
myPrivate = (LPIMEPRIVATE)ImmLockIMCC(lpIMC->hPrivate);
if (myPrivate->bInComposition)
{
......
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