Mike McCormack : riched20: Fix one more memory leak.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Nov 6 05:48:34 CST 2006
Module: wine
Branch: master
Commit: b7501a3b0cc3a112c202373f08d8910b5252baf5
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b7501a3b0cc3a112c202373f08d8910b5252baf5
Author: Mike McCormack <mike at codeweavers.com>
Date: Sun Nov 5 14:27:14 2006 +0900
riched20: Fix one more memory leak.
---
dlls/riched20/string.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/riched20/string.c b/dlls/riched20/string.c
index 57a304a..fd65252 100644
--- a/dlls/riched20/string.c
+++ b/dlls/riched20/string.c
@@ -360,7 +360,7 @@ LPWSTR ME_ToUnicode(HWND hWnd, LPVOID ps
void ME_EndToUnicode(HWND hWnd, LPVOID psz)
{
- if (IsWindowUnicode(hWnd))
+ if (!IsWindowUnicode(hWnd))
FREE_OBJ(psz);
}
More information about the wine-cvs
mailing list