mirror of
https://github.com/reactos/reactos.git
synced 2026-05-30 14:34:57 +08:00
[SHELL32] CDefView: Fix a leak of an HMENU. This fix is thanks to Joachim Henze who found the bug and quickly found the guilty revision. CORE-13911
This commit is contained in:
@@ -2161,6 +2161,12 @@ HRESULT WINAPI CDefView::DestroyViewWindow()
|
||||
m_hAccel = NULL;
|
||||
}
|
||||
|
||||
if (m_hMenuArrangeModes)
|
||||
{
|
||||
DestroyMenu(m_hMenuArrangeModes);
|
||||
m_hMenuArrangeModes = NULL;
|
||||
}
|
||||
|
||||
if (m_hMenuViewModes)
|
||||
{
|
||||
DestroyMenu(m_hMenuViewModes);
|
||||
|
||||
Reference in New Issue
Block a user