mirror of
https://github.com/reactos/wine.git
synced 2024-11-28 22:20:26 +00:00
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
Block a user