mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-12 09:54:36 +01:00
operator new works with DevProps
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
This commit is contained in:
parent
e05286e4a4
commit
28fd5f1353
@ -5073,8 +5073,8 @@ GetUserSettings(
|
||||
for (INTN j = 0; j < PropCount; j++) {
|
||||
Prop3 = NULL;
|
||||
DevProps = *Child;
|
||||
*Child = (__typeof_am__(*Child))AllocateZeroPool(sizeof(**Child));
|
||||
// *Child = new (__typeof_am__(**Child));
|
||||
// *Child = (__typeof_am__(*Child))AllocateZeroPool(sizeof(**Child));
|
||||
*Child = new (__typeof_am__(**Child))();
|
||||
(*Child)->Next = DevProps;
|
||||
|
||||
if (EFI_ERROR(GetElement(Prop2, j, &Prop3))) { // Prop3 -> <key>
|
||||
|
Loading…
Reference in New Issue
Block a user