From: Christophe CURIS <christophe.cu...@free.fr> As pointed by Coverity, if the word "WITH" was used in the content of the root menu definition then its string would not be freed.
Signed-off-by: Christophe CURIS <christophe.cu...@free.fr> --- src/rootmenu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rootmenu.c b/src/rootmenu.c index ca7750c..8f0723c 100644 --- a/src/rootmenu.c +++ b/src/rootmenu.c @@ -571,6 +571,7 @@ static void separateCommand(char *line, char ***file, char **command) *command = wstrdup(tmp); else wwarning(_("%s: missing command"), line); + wfree(token); break; } WMAddToArray(array, token); -- 1.9.2 -- To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.