commit | fb9302eb9bc80f4d88db69e78235407f644b46c5 | [log] [tgz] |
---|---|---|
author | Pingfan Liu <piliu@redhat.com> | Mon Nov 04 21:07:44 2024 +0800 |
committer | Simon Horman <horms@kernel.org> | Wed Nov 06 09:23:02 2024 +0000 |
tree | c372ee928968936a03796cf7e08e45483db8c6c8 | |
parent | 13e0a9327a42d78b0c0d0f672e02d8013187251a [diff] |
Fix fd leakage in uki_image_probe() There is a fd leakage in the fail path when writing to initrd fd in uki_image_probe(). Fix it by this patch. Signed-off-by: Pingfan Liu <piliu@redhat.com> Signed-off-by: Simon Horman <horms@kernel.org>