mirror of
https://github.com/ipxe/ipxe
synced 2025-12-18 18:40:24 +03:00
[efi] Fix use of uninitialised variable
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -194,6 +194,9 @@ static int efi_load_autoexec ( EFI_HANDLE device ) {
|
||||
DBGC ( device, "EFI %s found %ls\n",
|
||||
efi_handle_name ( device ), name );
|
||||
|
||||
/* Success */
|
||||
rc = 0;
|
||||
|
||||
err_read:
|
||||
if ( data )
|
||||
bs->FreePool ( data );
|
||||
|
||||
Reference in New Issue
Block a user