vulkan/wsi: free cmd pools
authorDave Airlie <airlied@redhat.com>
Wed, 27 Dec 2017 23:45:07 +0000 (09:45 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 27 Dec 2017 23:57:33 +0000 (09:57 +1000)
commit78a8b73e7d45f55ced98a148b26247d91f4e0171
treed18ca7daa91b80f3b82e7ca94cf659fa6bf9dcf2
parenta636208ace00e5ba7ddb331362b3e95fd4cea422
vulkan/wsi: free cmd pools

We destroy the pools but don't free the container.

This fixes:
dEQP-VK.wsi.xlib.swapchain.simulate_oom*

Fixes: d50937f137 (vulkan/wsi: Implement prime in a completely generic way)
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/vulkan/wsi/wsi_common.c