From 9806c6deebaa922a51d584ec719dde6ff16b3a5b Mon Sep 17 00:00:00 2001 From: "William A. Rowe Jr" Date: Thu, 16 Aug 2001 18:04:39 +0000 Subject: [PATCH] Wipe out some resource leakage. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90233 13f79535-47bb-0310-9956-ffa450edef68 --- support/win32/ApacheMonitor.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/support/win32/ApacheMonitor.c b/support/win32/ApacheMonitor.c index be4931ca35..f82aa427b3 100644 --- a/support/win32/ApacheMonitor.c +++ b/support/win32/ApacheMonitor.c @@ -329,6 +329,7 @@ void ShowTryPopupMenu(HWND hWnd) GetCursorPos(&pt); SetForegroundWindow(NULL); TrackPopupMenu(hMenu, TPM_LEFTALIGN|TPM_RIGHTBUTTON, pt.x, pt.y, 0, hWnd, NULL); + DestroyMenu(hMenu); } } @@ -352,6 +353,7 @@ void ShowTryServicesMenu(HWND hWnd) GetCursorPos(&pt); SetForegroundWindow(NULL); TrackPopupMenu(hMenu, TPM_LEFTALIGN|TPM_RIGHTBUTTON, pt.x, pt.y, 0, hWnd, NULL); + DestroyMenu(hMenu); } } } -- 2.40.0