WPrefs: Fix memory leak in Expert tab
commit7c50721747286a9cbaa70cea21f8fa2c140883df
authorChristophe CURIS <christophe.curis@free.fr>
Fri, 14 May 2021 18:24:51 +0000 (14 20:24 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Tue, 18 May 2021 16:49:17 +0000 (18 17:49 +0100)
tree3628f3a3403cdb0e8f7e09c79409cb4845bec292
parent4559cbbcccc2cecd0b557f36b18e9e578f1dfb76
WPrefs: Fix memory leak in Expert tab

As reported by Coverity (CID #331553), we leak the allocated string
returned by 'WMGetTextFieldText'

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