WMaker: fix memory leak in the window inspector when saving settings (Coverity #50174)
commite750f9307eef531060aa8c4d5ab8ca4f3311c894
authorChristophe CURIS <christophe.curis@free.fr>
Tue, 20 May 2014 19:46:47 +0000 (20 21:46 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Tue, 20 May 2014 20:29:57 +0000 (20 21:29 +0100)
tree88405e6d8288786b60698fbd392ad3ad3b9be3db
parenta75699faefaa9b91ef78804e1b810f618ddf8825
WMaker: fix memory leak in the window inspector when saving settings (Coverity #50174)

As pointed by Coverity, there is one case where the application dictionary
which is created temporarily (when saving the changes in the Window
Inspector) could be left allocated. It is now freed in the common path to
avoid problems.

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