mirror of
https://github.com/reactos/reactos.git
synced 2025-04-18 03:34:11 +00:00
- Fix yet another heap free error.
svn path=/trunk/; revision=12027
This commit is contained in:
parent
ed47eaa79a
commit
33f1fed6b5
1 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@
|
|||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
/* $Id: menu.c,v 1.73 2004/12/04 22:08:30 navaraf Exp $
|
||||
/* $Id: menu.c,v 1.74 2004/12/11 19:45:10 navaraf Exp $
|
||||
*
|
||||
* PROJECT: ReactOS user32.dll
|
||||
* FILE: lib/user32/windows/menu.c
|
||||
|
@ -3761,7 +3761,7 @@ GetMenuItemInfoA(
|
|||
|
||||
if (!NtUserMenuItemInfo(Menu, Item, ByPosition, (PROSMENUITEMINFO)mii, FALSE))
|
||||
{
|
||||
HeapFree(GetProcessHeap(), 0, mii->dwTypeData);
|
||||
HeapFree(GetProcessHeap(), 0, Text.Buffer);
|
||||
mii->dwTypeData = AnsiString;
|
||||
return FALSE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue