WMaker: fix memory leak in root menu parser (Coverity #50123 and #50124)
commit9f2f94a17420b97d81d45bbab9764fb2716a3e12
authorChristophe CURIS <christophe.curis@free.fr>
Tue, 20 May 2014 19:46:36 +0000 (20 21:46 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Tue, 20 May 2014 20:29:56 +0000 (20 21:29 +0100)
tree6a8750257ab553de6de243b9b09f440911a8f9ae
parent741243a792a379872543f1ad7989dad2c6fbd3fc
WMaker: fix memory leak in root menu parser (Coverity #50123 and #50124)

As pointed by Coverity, if an invalid OPEN_MENU is used then the memory
allocated when parsing the line containing it would be leaked.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
src/rootmenu.c