X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdeModulePkg%2FUniversal%2FAcpi%2FAcpiTableDxe%2FAmlChild.c;h=c7e8af96d3d5f38fa540baddebf95836279f0e8b;hb=4e1005eca7186cbe61aaae09108f6fdf29959f22;hp=d663feaecba79d59d1a62f3872031c2c8e542553;hpb=3dc8585e0a9fd4b2cb383f3ceb4961c7a88a8e71;p=mirror_edk2.git diff --git a/MdeModulePkg/Universal/Acpi/AcpiTableDxe/AmlChild.c b/MdeModulePkg/Universal/Acpi/AcpiTableDxe/AmlChild.c index d663feaecb..c7e8af96d3 100644 --- a/MdeModulePkg/Universal/Acpi/AcpiTableDxe/AmlChild.c +++ b/MdeModulePkg/Universal/Acpi/AcpiTableDxe/AmlChild.c @@ -1,7 +1,7 @@ /** @file ACPI Sdt Protocol Driver - Copyright (c) 2010, Intel Corporation. All rights reserved.
+ Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -189,6 +189,8 @@ AmlGetChildFromObjectChildList ( EFI_STATUS Status; UINT8 *CurrentBuffer; + CurrentBuffer = NULL; + if ((AmlParentHandle->AmlByteEncoding->Attribute & AML_HAS_CHILD_OBJ) == 0) { // // No ObjectList