diff options
author | Yichi Chen <yichichen@google.com> | 2020-05-08 22:22:31 +0800 |
---|---|---|
committer | Yichi Chen <yichichen@google.com> | 2020-05-12 08:58:16 +0800 |
commit | 5bec8ba8a289c9cc9b8f8dfec55b5be7e7e6a75d (patch) | |
tree | 15a171ae547b65eca1cdf8b56881df0d20f86797 /identity/support/src/cppbor_parse.cpp | |
parent | ad8b9ad68c76cf5675cd6579dc7a5bb0b9c1683f (diff) |
gralloc4-vts: Hold fence by unique_fd to avoid leakage
There was fd leakage when fence was assigned to other values without
releasing previous file descriptor. The patch introduces unique_fd to
hold the fence without leaking fd.
Bug: 150461327
Bug: 152510209
Test: VtsHalGraphicsMapperV4_0Target
Change-Id: I926887ccd2c626da2d2c1a6b9d7cd433f9d5b717
Diffstat (limited to 'identity/support/src/cppbor_parse.cpp')
0 files changed, 0 insertions, 0 deletions