# HG changeset patch # User Jason Rumney # Date 1008024771 0 # Node ID d5fc57bcb0f2a4954a72d1a3bac4e21120e730ba # Parent 0093d705e21a1588820eb7266ae8700187b6e607 (w32_free_submenu_strings): Clear menu item struct before using. diff -r 0093d705e21a -r d5fc57bcb0f2 src/w32menu.c --- a/src/w32menu.c Mon Dec 10 22:51:57 2001 +0000 +++ b/src/w32menu.c Mon Dec 10 22:52:51 2001 +0000 @@ -2245,7 +2245,7 @@ for (i = 0; i < num; i++) { MENUITEMINFO info; - + bzero (&info, sizeof (info)); info.cbSize = sizeof (info); info.fMask = MIIM_DATA | MIIM_TYPE | MIIM_SUBMENU;