]> git.ipfire.org Git - thirdparty/grub.git/commit
loader/ia64/efi/linux: Reset grub_errno on failure to allocate
authorVladimir Serbinenko <phcoder@gmail.com>
Mon, 7 Apr 2025 19:05:40 +0000 (22:05 +0300)
committerDaniel Kiper <daniel.kiper@oracle.com>
Thu, 10 Apr 2025 17:39:27 +0000 (19:39 +0200)
commit223fcf808424227b85969972931d7da3cd71fe9a
tree2d0109fdc86c77c35d167018fa5ac3e06720830a
parent6504a8d4bdd3f8d3a8541b3eee69dce24ad986df
loader/ia64/efi/linux: Reset grub_errno on failure to allocate

The code goes on to allocate memory in another region on failure, hence
it should discard the error.

Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/loader/ia64/efi/linux.c