Author: fireball
Date: Wed May 27 21:37:35 2009
New Revision: 41146
URL:
http://svn.reactos.org/svn/reactos?rev=41146&view=rev
Log:
Mikhail Denisenko <denisenkom(a)gmail.com>
- Destroy proper windows, fixes one more memory leak.
See issue #2012 for more details.
Modified:
trunk/reactos/base/shell/explorer/taskbar/startmenu.cpp
Modified: trunk/reactos/base/shell/explorer/taskbar/startmenu.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/explorer/taskba…
==============================================================================
--- trunk/reactos/base/shell/explorer/taskbar/startmenu.cpp [iso-8859-1] (original)
+++ trunk/reactos/base/shell/explorer/taskbar/startmenu.cpp [iso-8859-1] Wed May 27
21:37:35 2009
@@ -1943,7 +1943,8 @@
#ifndef __REACTOS__
case IDC_TERMINATE:
- DestroyWindow(GetParent(_hwnd));
+ DestroyWindow(g_Globals._hwndDesktopBar);
+ DestroyWindow(g_Globals._hwndDesktop);
break;
#endif