rbug: Fix rbug_delete_vs_state lock acquisition.
authorVinson Lee <vlee@freedesktop.org>
Sun, 24 May 2020 22:40:39 +0000 (15:40 -0700)
committerMarge Bot <eric+marge@anholt.net>
Sat, 27 Jun 2020 00:21:27 +0000 (00:21 +0000)
commitc0c03f4772fef361137bba5681b71215aca107d1
treec03f653911fb53864c714835d0cde7666cc0fc00
parent583d7d3d8d0d14d636340b0f12f72db7b0148ceb
rbug: Fix rbug_delete_vs_state lock acquisition.

Fix warning reported by Coverity Scan.

Double unlock (LOCK)
double_unlock: mtx_unlock unlocks rb_pipe->call_mutex while it is
unlocked.

Fixes: 07838ff990a7 ("rbug: Use the call mutex")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3023
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Jakob Bornecrantz <jakob@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5196>
src/gallium/auxiliary/driver_rbug/rbug_context.c