(free_keymap_defs): fix memory leak: free menu keymap.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2020-01-18 20:16:44 +03:00
parent 31b37a1f79
commit 299b94884e

View File

@ -1429,6 +1429,8 @@ free_keymap_defs (void)
g_array_free (panel_keymap, TRUE);
if (dialog_keymap != NULL)
g_array_free (dialog_keymap, TRUE);
if (menu_keymap != NULL)
g_array_free (menu_keymap, TRUE);
if (input_keymap != NULL)
g_array_free (input_keymap, TRUE);
if (listbox_keymap != NULL)