Author: jimtabor
Date: Wed Jul 22 06:26:35 2009
New Revision: 42129
URL:
http://svn.reactos.org/svn/reactos?rev=42129&view=rev
Log:
- Fix crash in wine test.
Modified:
trunk/reactos/subsystems/win32/win32k/ntuser/window.c
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/window.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/window.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/window.c [iso-8859-1] Wed Jul 22 06:26:35
2009
@@ -1842,7 +1842,6 @@
hMenu = co_IntCallLoadMenu( Wnd->pcls->hModule, &MenuName);
if (hMenu) IntSetMenu(Window, hMenu, &MenuChanged);
- if (MenuName.Buffer) RtlFreeUnicodeString(&MenuName);
}
}
else // Not a child