commit | 8e82b8d99e9ffb73bf3bb3c7c6aaa956e2228a41 | [log] [tgz] |
---|---|---|
author | Alec Mouri <alecmouri@google.com> | Mon Mar 09 16:11:00 2020 -0700 |
committer | Alec Mouri <alecmouri@google.com> | Mon Mar 09 17:33:22 2020 -0700 |
tree | b00fa5b79f5fabcdde8e082c9c98d084296f186a | |
parent | 1c7bc86a9b1bdf16b240a96d083102127f036325 [diff] |
[RenderEngine] Fix use-after-move error GLESREnderEngine::waitFence takes ownership of the file descriptor, so callers must dup it first. Otherwise, this results in a use-after-free error on devices that do not support EGL_ANDROID_native_fence_sync. Bug: 150954608 Test: WITH_TIDY=1 m -j Change-Id: I7e6d88c0f282a317fd8e603dccb918f3d5bc0fcc