pipe-loader: teardown the winsys, if create_screen fails
authorEmil Velikov <emil.l.velikov@gmail.com>
Sat, 17 Oct 2015 19:53:16 +0000 (20:53 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sat, 21 Nov 2015 12:52:19 +0000 (12:52 +0000)
commit46991ab9aac99c5ba55b735396f32447e75a6320
treeb8b2fca8ed53de1770723945e8d2e2e87f710d53
parentd54ca54faa2a6dde3c4d2125fd41d10dfcf2f91e
pipe-loader: teardown the winsys, if create_screen fails

i.e. plug some (hard to hit) memory leaks.

v2: fix rebase fallout - really teardown the winsys (Brian)
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Acked-by: Rob Clark <robclark@freedesktop.org>
src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c