diff options
author | Tiwei Bie <tiwei.btw@antgroup.com> | 2021-05-12 22:59:21 +0800 |
---|---|---|
committer | Tiwei Bie <tiwei.btw@antgroup.com> | 2021-05-13 09:08:20 +0800 |
commit | ddaa36bde5c55067ca866dbfcbd2e560e3bb356d (patch) | |
tree | b5583243c5a17dddf5251a7ad6bbff502dd86564 /pkg/tcpip/stack | |
parent | 29f4b71eb3db3d082735bd4316006d6bcc3230a1 (diff) |
Fix file descriptor leak in MultiGetAttr
We need to make sure that all children are closed before
return. But the last child saved in parent isn't closed
after we successfully iterate all the files in "names".
This patch fixes this issue.
Fixes #5982
Signed-off-by: Tiwei Bie <tiwei.btw@antgroup.com>
Diffstat (limited to 'pkg/tcpip/stack')
0 files changed, 0 insertions, 0 deletions