util: fix image leak in wmsebg's parseTexture (Coverity #50166)
commit9cef8c882e435df924741da38a8e96d9db114972
authorChristophe CURIS <christophe.curis@free.fr>
Mon, 16 Jun 2014 18:15:22 +0000 (16 20:15 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Mon, 16 Jun 2014 19:00:09 +0000 (16 20:00 +0100)
tree4c75bd5b60351547f4cb3986c57588356afe986d
parent1a9ece0438c4220a599c446eadd1bf069e66f75b
util: fix image leak in wmsebg's parseTexture (Coverity #50166)

As pointed by Coverity, in some case of texture with image that needs to
be scaled the temporary scaled image would be leaked if and error occured
during its conversion.

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