diff --git a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciResourceSupport.c b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciResourceSupport.c index 53faa6f967..1b44b6bc8f 100644 --- a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciResourceSupport.c +++ b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciResourceSupport.c @@ -642,6 +642,7 @@ Returns: Node = NULL; Node = AllocatePool (sizeof (PCI_RESOURCE_NODE)); + ASSERT (Node != NULL); if (Node == NULL) { return NULL; }