imm32: Destroy the data of the context passed into ImmDestroyContext, not the data in the root context.

This commit is contained in:
Rob Shearman 2008-02-25 14:24:29 +00:00 committed by Alexandre Julliard
parent 89c8e795d8
commit 076e3002ec
1 changed files with 5 additions and 5 deletions

View File

@ -626,11 +626,11 @@ BOOL WINAPI ImmDestroyContext(HIMC hIMC)
if (hIMC)
{
ImmDestroyIMCC(root_context->IMC.hCompStr);
ImmDestroyIMCC(root_context->IMC.hCandInfo);
ImmDestroyIMCC(root_context->IMC.hGuideLine);
ImmDestroyIMCC(root_context->IMC.hPrivate);
ImmDestroyIMCC(root_context->IMC.hMsgBuf);
ImmDestroyIMCC(data->IMC.hCompStr);
ImmDestroyIMCC(data->IMC.hCandInfo);
ImmDestroyIMCC(data->IMC.hGuideLine);
ImmDestroyIMCC(data->IMC.hPrivate);
ImmDestroyIMCC(data->IMC.hMsgBuf);
if (data->textfont)
{