- Fix crash in wine test.
authorJames Tabor <james.tabor@reactos.org>
Wed, 22 Jul 2009 04:26:35 +0000 (04:26 +0000)
committerJames Tabor <james.tabor@reactos.org>
Wed, 22 Jul 2009 04:26:35 +0000 (04:26 +0000)
svn path=/trunk/; revision=42129

reactos/subsystems/win32/win32k/ntuser/window.c

index 1425a8e..0bb225a 100644 (file)
@@ -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