WMaker: fix memory leak in screen initialisation (Coverity #50134)
commitfab73f47c71d851de7ff71533b17540dde5659b2
authorChristophe CURIS <christophe.curis@free.fr>
Tue, 20 May 2014 19:46:39 +0000 (20 21:46 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Tue, 20 May 2014 20:29:56 +0000 (20 21:29 +0100)
treecfb6a9504d1353e09a001740bd73d43472c345b0
parent99400735303826db7fa0ed1f836abc157cb965e6
WMaker: fix memory leak in screen initialisation (Coverity #50134)

As pointed by Coverity, if the function wScreenInit fails to properly
attach to the screen then the storage structure and content were not
released before returning.

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