summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/mm/mm_test.go
diff options
context:
space:
mode:
authorTiwei Bie <tiwei.btw@antgroup.com>2021-05-12 22:59:21 +0800
committerTiwei Bie <tiwei.btw@antgroup.com>2021-05-13 09:08:20 +0800
commitddaa36bde5c55067ca866dbfcbd2e560e3bb356d (patch)
treeb5583243c5a17dddf5251a7ad6bbff502dd86564 /pkg/sentry/mm/mm_test.go
parent29f4b71eb3db3d082735bd4316006d6bcc3230a1 (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/sentry/mm/mm_test.go')
0 files changed, 0 insertions, 0 deletions