WMaker: fix possible memory leak in the icon chooser dialog (Coverity #50173)
commita75699faefaa9b91ef78804e1b810f618ddf8825
authorChristophe CURIS <christophe.curis@free.fr>
Tue, 20 May 2014 19:46:46 +0000 (20 21:46 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Tue, 20 May 2014 20:29:57 +0000 (20 21:29 +0100)
treeaed2d14bc1f93073aaf8376d02eff03cfe1b12e3
parentbec027258431c1f6d32dafe9f49f57017ba380ff
WMaker: fix possible memory leak in the icon chooser dialog (Coverity #50173)

As reported by Coverity, it was possible to return early from the function
'listCallback' without de-allocating a temporary string. The string is now
requested after this early return.

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