Author: cwittich
Date: Tue Apr 14 08:05:46 2015
New Revision: 67192
URL:
http://svn.reactos.org/svn/reactos?rev=67192&view=rev
Log:
[TASKMGR]
fix a resource leak
Modified:
trunk/reactos/base/applications/taskmgr/taskmgr.c
Modified: trunk/reactos/base/applications/taskmgr/taskmgr.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/taskmgr/…
==============================================================================
--- trunk/reactos/base/applications/taskmgr/taskmgr.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/taskmgr/taskmgr.c [iso-8859-1] Tue Apr 14 08:05:46
2015
@@ -493,6 +493,8 @@
TaskManagerSettings.Maximized = FALSE;
/* Get rid of the allocated command line cache, if any */
PerfDataDeallocCommandLineCache();
+ if (hWindowMenu)
+ DestroyMenu(hWindowMenu);
return DefWindowProcW(hDlg, message, wParam, lParam);
case WM_TIMER: