- Timestamp:
- Sep 27, 2013 2:02:21 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/Firmware/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsMisc.c
r48730 r48738 744 744 Option->LoadOptionsSize = LoadOptionsSize; 745 745 746 #ifdef VBOX /* We need the OptionName later for Mac OS x related "Boot0080" hacks. */ 747 TempSize = StrSize (VariableName); 748 Option->OptionName = AllocateZeroPool (TempSize); 749 ASSERT(Option->OptionName != NULL); 750 CopyMem (Option->OptionName, VariableName, TempSize); 751 #endif 752 746 753 // 747 754 // Get the value from VariableName Unicode string … … 771 778 FreePool (Option->DevicePath); 772 779 FreePool (Option->LoadOptions); 780 #ifdef VBOX 781 FreePool (Option->OptionName); 782 #endif 773 783 FreePool (Option); 774 784 VBoxLogFlowFuncLeave();
Note:
See TracChangeset
for help on using the changeset viewer.