https://git.reactos.org/?p=reactos.git;a=commitdiff;h=255f43086db6af47c2766…
commit 255f43086db6af47c27664063c9deab36a93642f
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Mon Jul 18 22:20:25 2022 +0900
Commit: GitHub <noreply(a)github.com>
CommitDate: Mon Jul 18 22:20:25 2022 +0900
[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<IContextMenu> ctxMenu;
CStartMenuBtnCtxMenu_CreateInstance(this, m_hWnd, &ctxMenu);
+ ctxMenu->AddRef();
TrackCtxMenu(ctxMenu, ppt, hWndExclude, m_Position == ABE_BOTTOM, this);
}
}