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
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
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