commit | cad4e327bf3a2ad3a33d2cbc3f7039473f0adffb | [log] [tgz] |
---|---|---|
author | Ytai Ben-Tsvi <ytai@google.com> | Fri May 21 14:26:03 2021 -0700 |
committer | Ytai Ben-Tsvi <ytai@google.com> | Tue May 25 08:15:41 2021 -0700 |
tree | 6a142cc1e3c06cf9d78ae3029977b04c043ef907 | |
parent | 52fbf3693685d85f6ad640d3dc1ec807a2d4c0b7 [diff] |
Proper duping / closing of FileDescriptors While looking into another bug, I noticed that the file descriptors do not get properly duped when converting to HidlMemory and that they aren't explicitly closed when creating a temporary instance of SharedMemory. Test: Manual verification of ST functionality, which uses these utilities. Fixes: 188931943 Change-Id: I76322c56c58be5db8f1a40eb20eb3b96552412f9