From: William A. Rowe Jr Date: Thu, 16 Aug 2001 18:04:39 +0000 (+0000) Subject: Wipe out some resource leakage. X-Git-Tag: 2.0.24~51 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9806c6deebaa922a51d584ec719dde6ff16b3a5b;p=apache Wipe out some resource leakage. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90233 13f79535-47bb-0310-9956-ffa450edef68 --- 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); } } }