mirror of
https://git.proxmox.com/git/efi-boot-shim
synced 2025-06-08 23:10:09 +00:00
Free unused memory space
This commit is contained in:
parent
87bcb40438
commit
ca2e00d067
5
shim.c
5
shim.c
@ -643,6 +643,9 @@ static EFI_STATUS verify_mok (void) {
|
|||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (MokListData)
|
||||||
|
FreePool(MokListData);
|
||||||
|
|
||||||
return EFI_SUCCESS;
|
return EFI_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1421,6 +1424,8 @@ static EFI_STATUS check_mok_sb (void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
FreePool(MokSBState);
|
||||||
|
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user