From 299b94884e45785043d44e7adcc071cd18066682 Mon Sep 17 00:00:00 2001 From: Andrew Borodin Date: Sat, 18 Jan 2020 20:16:44 +0300 Subject: [PATCH] (free_keymap_defs): fix memory leak: free menu keymap. Signed-off-by: Andrew Borodin --- src/setup.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/setup.c b/src/setup.c index 87a704d24..2829fae42 100644 --- a/src/setup.c +++ b/src/setup.c @@ -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)