Replace hand rolled memory allocation in efid_io() with
authorkrw <krw@openbsd.org>
Tue, 8 Jun 2021 02:45:49 +0000 (02:45 +0000)
committerkrw <krw@openbsd.org>
Tue, 8 Jun 2021 02:45:49 +0000 (02:45 +0000)
commit6e6a01b2a08e5737b1adfd70da2bd255a5e9c99e
treef5b08259320e742072f8b14191b09a04af76a643
parentfdf1c64914f5ad56fb382b8fd0e46398bc71a4cf
Replace hand rolled memory allocation in efid_io() with
BS->AllocatePages() and BS->FreePages() as in all the other
efid_io() versions.

Don't leak the pages on success.

Bump boot version to 3.59.

ok yasuoka@
sys/arch/amd64/stand/efiboot/conf.c
sys/arch/amd64/stand/efiboot/efidev.c