anv: add missing unlock in error path.
authorDave Airlie <airlied@redhat.com>
Thu, 4 Oct 2018 23:56:19 +0000 (09:56 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 10 Oct 2018 23:50:27 +0000 (09:50 +1000)
commit29a7631986b10c99d5daad1a571716086a325bd5
tree8e19bc37fc0a12588c84c9431c730691fc252caf
parent4ba445e0117b29c31b030feb6e0f421a5ceb03e5
anv: add missing unlock in error path.

Not going to matter, but be consistent.

Found by coverity

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Fixes: caf41c78c (anv/allocator: Support softpin in the BO cache)
src/intel/vulkan/anv_allocator.c