From 37647b2dff3535ca6d599bacdfcbed64904ba795 Mon Sep 17 00:00:00 2001 From: Jason Rumney Date: Mon, 10 Dec 2001 22:52:51 +0000 Subject: [PATCH] (w32_free_submenu_strings): Clear menu item struct before using. --- src/w32menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5