From 255f43086db6af47c27664063c9deab36a93642f Mon Sep 17 00:00:00 2001 From: Katayama Hirofumi MZ Date: Mon, 18 Jul 2022 22:20:25 +0900 Subject: [PATCH] [EXPLORER] Fix assertion failure on start button (#4581) CORE-18024 --- base/shell/explorer/traywnd.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/base/shell/explorer/traywnd.cpp b/base/shell/explorer/traywnd.cpp index c4a30a6ffe3..da62c75c269 100644 --- a/base/shell/explorer/traywnd.cpp +++ b/base/shell/explorer/traywnd.cpp @@ -2687,6 +2687,7 @@ ChangePos: { CComPtr ctxMenu; CStartMenuBtnCtxMenu_CreateInstance(this, m_hWnd, &ctxMenu); + ctxMenu->AddRef(); TrackCtxMenu(ctxMenu, ppt, hWndExclude, m_Position == ABE_BOTTOM, this); } }