WPrefs: fix memory leak when saving window handling settings (Coverity #50158)
commit8eb6c82231373c5c507019210bb43a30544e9854
authorChristophe CURIS <christophe.curis@free.fr>
Sat, 31 May 2014 17:58:47 +0000 (31 19:58 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Sun, 1 Jun 2014 19:35:06 +0000 (1 20:35 +0100)
tree71513f7e876f63f67e52f7e08d2db32dd5de34a1
parentf4f96a8fb7d1e43605fc74ba9eac35213e457abf
WPrefs: fix memory leak when saving window handling settings (Coverity #50158)

As pointed by Coverity, the functions WMCreatePLString return a newly
allocated WMPropList, which must be released when not needed anymore.

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