Files
third_party_mesa3d/src
Juan A. Suarez Romero c93bd731f8 v3dv/pipeline_cache: bail out in case of error
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>
2021-04-22 11:40:40 +02:00
..
2021-04-22 08:16:11 +00:00
2021-04-22 03:01:33 +00:00
2021-03-20 10:38:55 +00:00
2021-01-09 20:51:35 -06:00
2021-03-31 06:28:18 +00:00
2021-01-11 22:45:01 +00:00
2021-04-08 17:15:37 +00:00