summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/file-register.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/file-register.c b/test/file-register.c
index 91cb3cc..458ca89 100644
--- a/test/file-register.c
+++ b/test/file-register.c
@@ -95,8 +95,10 @@ static int test_shrink(struct io_uring *ring)
goto err;
}
+ close_files(files, 50, 0);
return 0;
err:
+ close_files(files, 50, 0);
return 1;
}