iris: properly free resources on BO allocation failure
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fri, 6 Mar 2020 13:57:40 +0000 (15:57 +0200)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Sat, 11 Apr 2020 19:04:22 +0000 (22:04 +0300)
commitbd3e50545339ffd4f258437d6282e2cfbf113725
tree41df405f17b413e18932f0e02a4da9271a136797
parent7aa6720ba4ea8dc107c7b363bcb2a1811a25dc71
iris: properly free resources on BO allocation failure

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: <mesa-stable@lists.freedesktop.org>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Rafael Antognolli <rafael.antognolli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4086>
src/gallium/drivers/iris/iris_resource.c