diff options
author | Zhihao Cheng <chengzhihao1@huawei.com> | 2024-02-22 20:27:58 +0800 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2024-09-25 09:08:41 +0200 |
commit | 8999ef158d26d9e7fe01c3d4989340342f9c69aa (patch) | |
tree | 93866a690c2e608f0b0cb829761af980af2495f4 /tests/ubi-tests/volrefcnt.c | |
parent | 5d3902383683c997b5cb3f19f07184ed0be6d764 (diff) |
mkfs.ubifs: Fix missed closing out_fd
Closing 'out_fd' is missed in handling paths in open_target(), fix it
by adding closing operations before returning.
Fixes: a48340c335dab ("mkfs.ubifs: use libubi to format UBI volume")
Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com>
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/ubi-tests/volrefcnt.c')
0 files changed, 0 insertions, 0 deletions