util: removed unnecessary RReleaseImage in wmsetbg (Coverity #50077)
commitb5e2821c3e29fd04f56219243f91eeec43af4ea2
authorChristophe CURIS <christophe.curis@free.fr>
Mon, 16 Jun 2014 18:15:17 +0000 (16 20:15 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Mon, 16 Jun 2014 19:00:08 +0000 (16 20:00 +0100)
tree5ea8d4fd25549870a060bd1d9a1e9a6d799affa6
parentb9eb99ca732345a3fb32690d53b301f42aaf881a
util: removed unnecessary RReleaseImage in wmsetbg (Coverity #50077)

As pointed by Coverity, it is not useful to call RReleaseImage if we are in
the branch of code where we know that the image for which it is being
called is NULL.

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