commit | 29645e19ba46e39e0691e06d628a238fb7e9fd4b | [log] [tgz] |
---|---|---|
author | Songchun Fan <schfan@google.com> | Mon Feb 03 12:20:54 2020 -0800 |
committer | Yurii Zubrytskyi <zyy@google.com> | Tue Mar 24 11:31:43 2020 -0700 |
tree | f01fcdc4dbec894a26703c8bf98853e83fadc4a3 | |
parent | e06d019135fb2d2c4b7bc7159d0b2c08010f59c1 [diff] |
Release unique_fd when returning as int Otherwise it gets closed. Ideally we should pass unique_fd all along, but we are restricted by the ndk interface which needs to be C compatible. Test: manual Change-Id: I2d7312784a8d703deb10e50e83b74db7e8f7c87c Merged-In: I2d7312784a8d703deb10e50e83b74db7e8f7c87c