anv: Fix a potential BO handle leak
authorJason Ekstrand <jason@jlekstrand.net>
Fri, 25 Oct 2019 20:42:22 +0000 (15:42 -0500)
committerJason Ekstrand <jason@jlekstrand.net>
Thu, 31 Oct 2019 13:46:08 +0000 (13:46 +0000)
commitbb257e1852473e3bc49bb9e0fe014741894f7bd0
tree903767fac5caee49319c57b69a86b533e819c9f5
parent6f4fa8176952bef3973e65aa3f37bd077fc10895
anv: Fix a potential BO handle leak

Fixes: 731c4adcf9b "anv/allocator: Add support for non-userptr"
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/vulkan/anv_allocator.c