mirror of
https://github.com/ipxe/ipxe
synced 2025-12-21 12:30:20 +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",
|
DBGC ( device, "EFI %s found %ls\n",
|
||||||
efi_handle_name ( device ), name );
|
efi_handle_name ( device ), name );
|
||||||
|
|
||||||
|
/* Success */
|
||||||
|
rc = 0;
|
||||||
|
|
||||||
err_read:
|
err_read:
|
||||||
if ( data )
|
if ( data )
|
||||||
bs->FreePool ( data );
|
bs->FreePool ( data );
|
||||||
|
|||||||
Reference in New Issue
Block a user