WPrefs: Fix memory leak in the Menu tab
commit4559cbbcccc2cecd0b557f36b18e9e578f1dfb76
authorChristophe CURIS <christophe.curis@free.fr>
Fri, 14 May 2021 18:17:04 +0000 (14 20:17 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Tue, 18 May 2021 16:49:17 +0000 (18 17:49 +0100)
tree7183a3f91a255ad8c2bd0aeb06ed986d0b553391
parente828e1c074732c9f670dd621baf1fae59261040f
WPrefs: Fix memory leak in the Menu tab

As reported by Coverity (CID #331559), the call to 'wfindfile' replaces
the value for variable 'path' but we did not free its previous content.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
WPrefs.app/Menu.c