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

Skip to content
Commit 35a114c8 authored by Peiyong Lin's avatar Peiyong Lin
Browse files

[RenderEngine] Release the fence before calling eglCreateSyncKHR.

Previously we released the fence after calling eglCreateSyncKHR, however if
eglCreateSyncKHR fails, then we will return, which results in double free of
the fd. This patch makes sure we release fd before we transfer the ownership to
EGLSync.

BUG: 131290710
Test: Boot
Change-Id: I4d8cb7968ceceac5b910d4cb43e94b330319071f
parent 15800858
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