ui/ncurses: Check for NULL in pmenu_item_get_index()
authorSamuel Mendoza-Jonas <sam.mj@au1.ibm.com>
Wed, 11 Nov 2015 05:11:41 +0000 (16:11 +1100)
committerSamuel Mendoza-Jonas <sam.mj@au1.ibm.com>
Thu, 17 Dec 2015 03:51:46 +0000 (14:51 +1100)
commitc9c964c8c03c766d94d4798231d6e3db191c57df
tree57a208d5715d641680d5b08e331534cfad067560
parentdf751aad6736c25a3f3088ad626bd28d2ced1991
ui/ncurses: Check for NULL in pmenu_item_get_index()

Fixes Coverity defect #30476

Signed-off-by: Samuel Mendoza-Jonas <sam.mj@au1.ibm.com>
ui/ncurses/nc-menu.c