diff options
Diffstat (limited to 'libmenu')
-rw-r--r-- | libmenu/menu_cmdlist.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libmenu/menu_cmdlist.c b/libmenu/menu_cmdlist.c index 8abb15269e..9574936c44 100644 --- a/libmenu/menu_cmdlist.c +++ b/libmenu/menu_cmdlist.c @@ -90,6 +90,10 @@ static void free_entry(list_entry_t* entry) { free(entry->ok); if(entry->cancel) free(entry->cancel); + if(entry->left) + free(entry->left); + if(entry->right) + free(entry->right); free(entry->p.txt); free(entry); } |