wmmenugen: Fix memory leaks when parsing menu in wmconfig format
commit0ac6827a9bf950688993b2b9924d411dea7108b7
authorChristophe CURIS <christophe.curis@free.fr>
Sun, 16 May 2021 13:47:14 +0000 (16 15:47 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Tue, 18 May 2021 16:49:17 +0000 (18 17:49 +0100)
tree992023c3b4e2271f0503b46b7e677eb1ec4707e2
parentf030ab7664add58db869ff7b4ec6f82b0cebfd96
wmmenugen: Fix memory leaks when parsing menu in wmconfig format

As reported by Coverity (CID #50181, #50182 and #50183) the strings allocated by parse_wmconfig_line were not freed after use.

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