ui/ncurses: unpost ncurses menu in pmenu cleanup path
authorJeremy Kerr <jk@ozlabs.org>
Thu, 13 Mar 2014 05:23:37 +0000 (13:23 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Thu, 10 Apr 2014 03:18:25 +0000 (11:18 +0800)
commit71a8c7c553ba518745c63ff646ef2677b842db5a
tree1f2915e2b2e7f637b045cdebed581effed8c492e
parent37bff93c8b0a71432613f41f2319dc073ca64619
ui/ncurses: unpost ncurses menu in pmenu cleanup path

We need to unpost the menu so that free_item can actually free the item.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
ui/ncurses/nc-menu.c