commit | a4652711d2c9b1872a884f3a9b66a031491c6261 | [log] [tgz] |
---|---|---|
author | Sachin Bhayare <sachin.bhayare@codeaurora.org> | Fri Jan 06 17:54:09 2017 +0530 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Tue Jan 24 03:07:42 2017 -0800 |
tree | 31f3ed528bebb221988c08db0c474db41f4afed9 | |
parent | 048effc5d5e24e4571b4d9139ac110de9158d47f [diff] |
gralloc1: Acquire mutex early in release Due to race condition between release and retain calls, retain return stale handle. Which results in crash in SurfaceFlinger Fix crash by acquiring mutex early in release function Bug: 32384569 Change-Id: I4b763bbcacd9905492d19fafc9b91e4c7e1cc53e