WPrefs: fix memory leak in loadRImage (Coverity #50107)
commitc54bb11ee9caeffe716b3f7d240f76afe991e965
authorChristophe CURIS <christophe.curis@free.fr>
Sat, 31 May 2014 17:58:43 +0000 (31 19:58 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Sun, 1 Jun 2014 19:35:06 +0000 (1 20:35 +0100)
treec3cb14ae7774dd8dac0eae17a4423dfdecb68701
parenta9e2923f67a3256c5085c1d532a63b5e7f6da277
WPrefs: fix memory leak in loadRImage (Coverity #50107)

As pointed by Coverity, if there is a problem when reading the binary data
of an RImage from a file, the area allocated to store it would not be
freed.

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