]> git.ipfire.org Git - thirdparty/grub.git/commit
loader/xnu: Free driverkey data when an error is detected in grub_xnu_writetree_toheap()
authorMarco A Benatto <mbenatto@redhat.com>
Mon, 30 Nov 2020 15:18:24 +0000 (12:18 -0300)
committerDaniel Kiper <daniel.kiper@oracle.com>
Tue, 2 Mar 2021 14:54:17 +0000 (15:54 +0100)
commit4b4027b6b1c877d7ab467896b04c7bd1aadcfa15
tree6ccabab2a725682fb3d556db409032a0e1e63b7a
parentbcb59ece3263d118510c4440c4da0950f224bb7f
loader/xnu: Free driverkey data when an error is detected in grub_xnu_writetree_toheap()

... to avoid memory leaks.

Fixes: CID 96640
Signed-off-by: Marco A Benatto <mbenatto@redhat.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/loader/xnu.c