ui/ncurses: Use pmenu_item destrutor to free ncurses ITEMs
[petitboot] / ui / twin / pbt-menu.h
index cb696eaa98b7bcce64dfef3b5a7c10d20afb5f19..698b64d2852a0558d9f312820beb625eb8fb00ac 100644 (file)
@@ -41,6 +41,7 @@ struct pbt_item
        twin_pixmap_t *pixmap_active;
 
        struct pbt_menu *sub_menu;
+       struct pbt_item *selected_item;
 
        int (*on_execute)(struct pbt_item *item);
        int (*on_edit)(struct pbt_item *item);