Commit b7501a3b authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

riched20: Fix one more memory leak.

parent d89c4674
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment