From b4eec975f77d0001064688917d782ea4636093bb Mon Sep 17 00:00:00 2001 From: wj32 Date: Thu, 23 Sep 2010 04:28:44 +0000 Subject: [PATCH] fixed bug git-svn-id: svn://svn.code.sf.net/p/processhacker/code@3660 21ef857c-d57f-4fe0-8362-d861dc6d29cd --- 2.x/trunk/ProcessHacker/mainwnd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/2.x/trunk/ProcessHacker/mainwnd.c b/2.x/trunk/ProcessHacker/mainwnd.c index d7f6b906f..3505ee504 100644 --- a/2.x/trunk/ProcessHacker/mainwnd.c +++ b/2.x/trunk/ProcessHacker/mainwnd.c @@ -2539,7 +2539,6 @@ VOID PhpShowIconContextMenu( Location.x, Location.y ); - PhDestroyEMenu(menu); // Destroy the bitmaps. for (i = 0; i < numberOfProcesses; i++) @@ -2674,6 +2673,8 @@ VOID PhpShowIconContextMenu( } } } + + PhDestroyEMenu(menu); } VOID PhShowIconNotification(