diff options
author | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2021-05-12 09:14:54 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2021-05-12 15:53:33 +0530 |
commit | 900962f37f64c263db83ec8639847e8f6753b8d9 (patch) | |
tree | ea3a1af16b5d06e31233bd8f0f3cbcfca20ccfac /wctype/bug-wctypeh.c | |
parent | 5188a9d0265cc6f7235a8af1d31ab02e4a24853d (diff) | |
download | glibc-900962f37f64c263db83ec8639847e8f6753b8d9.tar.gz glibc-900962f37f64c263db83ec8639847e8f6753b8d9.tar.xz glibc-900962f37f64c263db83ec8639847e8f6753b8d9.zip |
linux/check_native: Always close socket on return
The error paths of __check_native would leave the socket FD open on return, resulting in an FD leak. Rework function exit paths so that the fd is always closed on return.
Diffstat (limited to 'wctype/bug-wctypeh.c')
0 files changed, 0 insertions, 0 deletions