Mikhail Denisenko <denisenkom@gmail.com>

- Destroy proper windows, fixes one more memory leak.

See issue #2012 for more details.

svn path=/trunk/; revision=41146
This commit is contained in:
Aleksey Bragin 2009-05-27 17:37:35 +00:00
parent bc373b83fc
commit 73bb488c7a

View file

@ -1943,7 +1943,8 @@ int StartMenuHandler::Command(int id, int code)
#ifndef __REACTOS__
case IDC_TERMINATE:
DestroyWindow(GetParent(_hwnd));
DestroyWindow(g_Globals._hwndDesktopBar);
DestroyWindow(g_Globals._hwndDesktop);
break;
#endif