anv: Don't leak when set_tiling fails
authorJason Ekstrand <jason@jlekstrand.net>
Mon, 2 Dec 2019 19:51:59 +0000 (13:51 -0600)
committerJason Ekstrand <jason@jlekstrand.net>
Thu, 5 Dec 2019 16:59:10 +0000 (10:59 -0600)
commit0a36fafa95175efbad1a61b36706e535929afd2b
treeee1ee376d73ea960da8d9f44131e010a9e324b7e
parent46af0ecc1d1f060786a1c2dfede1f936b407fbf6
anv: Don't leak when set_tiling fails

Fixes: a44744e01d73 "anv: Require a dedicated allocation for..."
Reviewed-by: Ivan Briano <ivan.briano@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/vulkan/anv_device.c