From: Jason Rumney Date: Mon, 10 Dec 2001 22:52:51 +0000 (+0000) Subject: (w32_free_submenu_strings): Clear menu item struct X-Git-Tag: ttn-vms-21-2-B4~17812 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=37647b2dff3535ca6d599bacdfcbed64904ba795;p=emacs.git (w32_free_submenu_strings): Clear menu item struct before using. --- diff --git a/src/w32menu.c b/src/w32menu.c index 99376360187..03ffb301f01 100644 --- a/src/w32menu.c +++ b/src/w32menu.c @@ -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;