Rob Shearman : imm32: Destroy the data of the context passed into ImmDestroyContext, not the data in the root context.
Alexandre Julliard
julliard at winehq.org
Mon Feb 25 14:21:27 CST 2008
Module: wine
Branch: master
Commit: 076e3002ec6530718658c8c6321d3b551feaaf8b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=076e3002ec6530718658c8c6321d3b551feaaf8b
Author: Rob Shearman <rob at codeweavers.com>
Date: Mon Feb 25 14:24:29 2008 +0000
imm32: Destroy the data of the context passed into ImmDestroyContext, not the data in the root context.
---
dlls/imm32/imm.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/dlls/imm32/imm.c b/dlls/imm32/imm.c
index 6b4e288..5872bc8 100644
--- a/dlls/imm32/imm.c
+++ b/dlls/imm32/imm.c
@@ -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)
{
More information about the wine-cvs
mailing list