Free unused memory space

This commit is contained in:
Gary Ching-Pang Lin 2013-07-05 10:57:16 +08:00 committed by Peter Jones
parent f6d1f6aa32
commit 804f8f7797

5
shim.c
View File

@ -643,6 +643,9 @@ static EFI_STATUS verify_mok (void) {
return status;
}
if (MokListData)
FreePool(MokListData);
return EFI_SUCCESS;
}
@ -1421,6 +1424,8 @@ static EFI_STATUS check_mok_sb (void)
}
}
FreePool(MokSBState);
return status;
}