radv: fix memory leak from physical device if wsi fails
authorDave Airlie <airlied@redhat.com>
Tue, 11 Oct 2016 22:52:56 +0000 (08:52 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 11 Oct 2016 22:53:44 +0000 (08:53 +1000)
commit6215b476482fa3a76d3245d88ab127a7c060e115
tree59708503178b4474f7ad9647e70693cb95d5cf3f
parente0641c61ca5cb8bba2e4cb5a0a6eede74f11ebc6
radv: fix memory leak from physical device if wsi fails

Inspired by patch from Edward O'Callaghan <funfunctor@folklore1984.net>
which didn't do it right.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_device.c