WINGs: fix memory leak in WColorPanel (Coverity #50102, #50103, #50104 and #50133)
commit47b801021c3eda56a438717d8745d0d4c0ad6da5
authorChristophe CURIS <christophe.curis@free.fr>
Sun, 18 May 2014 19:31:42 +0000 (18 21:31 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Sun, 18 May 2014 22:01:43 +0000 (18 23:01 +0100)
tree71f633f577a549be64bda1cfe74887b6a82b3b52
parent42febe3cecf0c5885cbf261ed34292572276277b
WINGs: fix memory leak in WColorPanel (Coverity #50102, #50103, #50104 and #50133)

As reported by Coverity, the function 'WMGetTextFieldText' allocates memory
to generate the result string, so it has to be freed.

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