(w32_free_submenu_strings): Clear menu item struct

before using.
This commit is contained in:
Jason Rumney 2001-12-10 22:52:51 +00:00
parent 8af0103338
commit 37647b2dff

View file

@ -2245,7 +2245,7 @@ w32_free_submenu_strings (menu)
for (i = 0; i < num; i++)
{
MENUITEMINFO info;
bzero (&info, sizeof (info));
info.cbSize = sizeof (info);
info.fMask = MIIM_DATA | MIIM_TYPE | MIIM_SUBMENU;