commit | 0209c366627e98d6311629a0592c6e22be7d13e0 | [log] [tgz] |
---|---|---|
author | Chiachang Wang <chiachangwang@google.com> | Mon Nov 29 17:42:08 2021 +0800 |
committer | Chiachang Wang <chiachangwang@google.com> | Wed Dec 01 14:46:29 2021 +0800 |
tree | 6c5fd58c32dcd6491e9fa9acc93c97b99657248a | |
parent | 44a20af4a32f68bec07e57aeb0c7a9fd09bf228c [diff] |
Ensure created fd being closed If exception s thrown while calling bindSocket(fd), the temporary created ParcelFileDescriptor may not be closed as expected. Ensure it's closed eventually. Bug: 206042872 Test: atest FrameworksNetTests Change-Id: Icde895978ab9281006ffd56335d1247462d9da28