diff options
author | Chad Versace <[email protected]> | 2016-09-27 23:33:45 -0700 |
---|---|---|
committer | Chad Versace <[email protected]> | 2016-10-05 17:09:24 -0700 |
commit | ce1d67c2e5916e97bb65c0bd3b782efca7d3dea5 (patch) | |
tree | f3f546b278155741fea10503aed4ac003982c34b /src/mesa/drivers/dri/i965/brw_vec4_cse.cpp | |
parent | 28ab2570c8994993acf199e6c728c0f316bf253a (diff) |
i965/sync: Fix uninitalized usage and leak of mutex
We locked an unitialized mutex in the callstack
glClientWaitSync
intel_gl_client_wait_sync
brw_fence_client_wait_sync
because we forgot to initialize it in intel_gl_fence_sync.
(The EGLSync codepath didn't have this bug. It initialized the mutex in
intel_dri_create_sync).
We also forgot to tear down (mtx_destroy) the mutex when destroying
the sync object.
Cc: [email protected]
Reviewed-by: Iago Toral Quiroga <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vec4_cse.cpp')
0 files changed, 0 insertions, 0 deletions