riched20: Fix one more memory leak.

This commit is contained in:
Mike McCormack 2006-11-05 14:27:14 +09:00 committed by Alexandre Julliard
parent d89c46748f
commit b7501a3b0c
1 changed files with 1 additions and 1 deletions

View File

@ -360,7 +360,7 @@ LPWSTR ME_ToUnicode(HWND hWnd, LPVOID psz)
void ME_EndToUnicode(HWND hWnd, LPVOID psz)
{
if (IsWindowUnicode(hWnd))
if (!IsWindowUnicode(hWnd))
FREE_OBJ(psz);
}