diff options
Diffstat (limited to 'sys/boot/efi/libefi/efinet.c')
-rw-r--r-- | sys/boot/efi/libefi/efinet.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/boot/efi/libefi/efinet.c b/sys/boot/efi/libefi/efinet.c index 1eea860..5b3e401 100644 --- a/sys/boot/efi/libefi/efinet.c +++ b/sys/boot/efi/libefi/efinet.c @@ -262,6 +262,7 @@ efinet_dev_init() int err, i, nifs; sz = 0; + handles = NULL; status = BS->LocateHandle(ByProtocol, &sn_guid, 0, &sz, 0); if (status == EFI_BUFFER_TOO_SMALL) { handles = (EFI_HANDLE *)malloc(sz); |