[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
Loading
Please register or sign in to comment