[TASKMGR]

fix a resource leak

svn path=/trunk/; revision=67192
This commit is contained in:
Christoph von Wittich 2015-04-14 08:05:46 +00:00
parent 20ab1d5d0d
commit f607ec2767

View file

@ -493,6 +493,8 @@ TaskManagerWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
TaskManagerSettings.Maximized = FALSE; TaskManagerSettings.Maximized = FALSE;
/* Get rid of the allocated command line cache, if any */ /* Get rid of the allocated command line cache, if any */
PerfDataDeallocCommandLineCache(); PerfDataDeallocCommandLineCache();
if (hWindowMenu)
DestroyMenu(hWindowMenu);
return DefWindowProcW(hDlg, message, wParam, lParam); return DefWindowProcW(hDlg, message, wParam, lParam);
case WM_TIMER: case WM_TIMER: