From 9e5cbe07815858b4e2dee4bd2a061f306ff8715b Mon Sep 17 00:00:00 2001 From: James Tabor Date: Wed, 22 Jul 2009 04:26:35 +0000 Subject: [PATCH] - Fix crash in wine test. svn path=/trunk/; revision=42129 --- reactos/subsystems/win32/win32k/ntuser/window.c | 1 - 1 file changed, 1 deletion(-) diff --git a/reactos/subsystems/win32/win32k/ntuser/window.c b/reactos/subsystems/win32/win32k/ntuser/window.c index 1425a8e71e8..0bb225a22f2 100644 --- a/reactos/subsystems/win32/win32k/ntuser/window.c +++ b/reactos/subsystems/win32/win32k/ntuser/window.c @@ -1842,7 +1842,6 @@ AllocErr: hMenu = co_IntCallLoadMenu( Wnd->pcls->hModule, &MenuName); if (hMenu) IntSetMenu(Window, hMenu, &MenuChanged); - if (MenuName.Buffer) RtlFreeUnicodeString(&MenuName); } } else // Not a child