diff --git a/rEFIt_UEFI/Platform/Settings.cpp b/rEFIt_UEFI/Platform/Settings.cpp index e59448e14..a4228907e 100644 --- a/rEFIt_UEFI/Platform/Settings.cpp +++ b/rEFIt_UEFI/Platform/Settings.cpp @@ -5074,8 +5074,10 @@ GetUserSettings( for (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)); + DBG("created *Child sizeof %d\n", sizeof(**Child)); + + // *Child = new (__typeof_am__(**Child)); (*Child)->Next = DevProps; if (EFI_ERROR(GetElement(Prop2, j, &Prop3))) { // Prop3 ->