Free unused memory space

This commit is contained in:
Gary Ching-Pang Lin 2013-09-26 11:58:02 -04:00 committed by Peter Jones
parent 87bcb40438
commit ca2e00d067

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;
}