mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 15:33:12 +00:00
[EXPLORER-NEW]
* Fix HMENU leak. [BROWSEUI] * Work around for WM_SETICON not properly returning the old HICON. [SHELL32] * Fix HICON leak. * Nitpick. [WIN32K] * Do not refcount the menus improperly. svn path=/branches/shell-experiments/; revision=64986
This commit is contained in:
parent
8069b8c90d
commit
d07a1dc09a
5 changed files with 15 additions and 7 deletions
|
@ -1653,7 +1653,7 @@ PMENU FASTCALL MENU_GetSystemMenu(PWND Window, PMENU Popup)
|
|||
{
|
||||
return NULL;
|
||||
}
|
||||
SysMenu = IntGetMenuObject(hSysMenu);
|
||||
SysMenu = UserGetMenuObject(hSysMenu);
|
||||
if (NULL == SysMenu)
|
||||
{
|
||||
UserDestroyMenu(hSysMenu);
|
||||
|
@ -1684,7 +1684,7 @@ PMENU FASTCALL MENU_GetSystemMenu(PWND Window, PMENU Popup)
|
|||
UserDestroyMenu(hSysMenu);
|
||||
return NULL;
|
||||
}
|
||||
Menu = IntGetMenuObject(hNewMenu);
|
||||
Menu = UserGetMenuObject(hNewMenu);
|
||||
if (!Menu)
|
||||
{
|
||||
IntReleaseMenuObject(SysMenu);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue