anv: fix incorrect realloc failure handling
We don't want to leak in case of failure.
Signed-off-by: Lionel Landwerlin lionel.g.landwerlin@intel.com Reported-by: Ivan Briano ivan.briano@intel.com Fixes: 246261f0 ("anv: prepare the driver for delayed submissions") Fixes: 34f32a6d ("anv: implement VK_KHR_timeline_semaphore")
/cc @ibriano : Thanks for pointing out existing issues!