Currently, in GetPipelineCacheData() function, in several cases if there is an error the blob is finished and cache unlocked, but code continues executing, which can lead to multiple `pthread_mutex_unlock()` calls. Instead, if there's an error just bail out to finish the blob and unlock the cache directly. Fixes CID#1468147 "Double unlock (LOCK)". v2: - Rename "bail_out" by "done" (apinheiro) Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com> Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10404> |
||
|---|---|---|
| .. | ||
| ci | ||
| cle | ||
| clif | ||
| common | ||
| compiler | ||
| drm-shim | ||
| qpu | ||
| simulator | ||
| vulkan | ||
| .editorconfig | ||
| Android.cle.mk | ||
| Android.genxml.mk | ||
| Android.mk | ||
| Makefile.sources | ||
| meson.build | ||