mirror of https://github.com/ipxe/ipxe.git
[efi] Fix use of uninitialised variable
Signed-off-by: Michael Brown <mcb30@ipxe.org>pull/224/head
parent
a3f1e8fb67
commit
ade4d2b4fe
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue