[ros-diffs] [fireball] 41146: Mikhail Denisenko <denisenkom at gmail.com> - Destroy proper windows, fixes one more memory leak. See issue #2012 for more details.

fireball at svn.reactos.org fireball at svn.reactos.org
Wed May 27 19:37:36 CEST 2009


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 at 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/taskbar/startmenu.cpp?rev=41146&r1=41145&r2=41146&view=diff
==============================================================================
--- 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
 



More information about the Ros-diffs mailing list