anv: fix use after free
Once mem->bo is removed from the cache, it is likely to be freed.
Signed-off-by: Lionel Landwerlin lionel.g.landwerlin@intel.com Fixes: b80930a6 ("anv: add support for VK_EXT_memory_budget")
/cc @eric
Once mem->bo is removed from the cache, it is likely to be freed.
Signed-off-by: Lionel Landwerlin lionel.g.landwerlin@intel.com Fixes: b80930a6 ("anv: add support for VK_EXT_memory_budget")
/cc @eric