WPrefs: fix memory leaks on temporary colours to draw icon's title in Appearence...
commit8ed6eacd06d6aa6f831c5c7f04e58e84d38a98ab
authorChristophe CURIS <christophe.curis@free.fr>
Sat, 29 Nov 2014 15:35:29 +0000 (29 16:35 +0100)
committerCarlos R. Mafra <crmafra@gmail.com>
Sat, 29 Nov 2014 18:44:48 +0000 (29 18:44 +0000)
tree5a2b8e539b908a2174edb2cf33b0363ed7641e3e
parent54feb499cbd22d748bab8e82bb25039f0bb84d1b
WPrefs: fix memory leaks on temporary colours to draw icon's title in Appearence preview (Coverity #72808, #72810)

Two WMColor were created to draw the background for the title on icons for
iconified windows, in the Appearance panel. As pointed by Coverity, these
colors were not released after use, which this patch fixes.

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