Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 4ed04ff8 authored by Pramodh Kumar Mukunda's avatar Pramodh Kumar Mukunda Committed by Zhao Wei Liew
Browse files

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
(cherry picked from commit 6a711d2b)
parent 29fa32db
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment