efi: explicity check for NULL in FreePoolp()
authorLennart Poettering <lennart@poettering.net>
Thu, 21 Jun 2018 16:48:21 +0000 (18:48 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 16 Oct 2018 14:44:34 +0000 (16:44 +0200)
commit2880e665ab3c72ce029cc31289c61ae72fbe667a
treee56815bbd4e7f5cb2aa670825f35dab65ad40af0
parent3aaa95e0a09ef1d838cc8dd8b89e7caaeba415e6
efi: explicity check for NULL in FreePoolp()

Firmware implementations are generally pretty bad, hence let's better
add an explicit check for NULL before invokin FreePool(), in particular
is it doesn't appear to be documented whether FreePool() is supposed to
be happy with NULL.
src/boot/efi/util.h