riched20: Fix one more memory leak.
This commit is contained in:
parent
d89c46748f
commit
b7501a3b0c
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue