diff --git a/MdeModulePkg/Bus/Pci/NonDiscoverablePciDeviceDxe/NonDiscoverablePciDeviceIo.c b/MdeModulePkg/Bus/Pci/NonDiscoverablePciDeviceDxe/NonDiscoverablePciDeviceIo.c index ce73a770c1..f9b13a5240 100644 --- a/MdeModulePkg/Bus/Pci/NonDiscoverablePciDeviceDxe/NonDiscoverablePciDeviceIo.c +++ b/MdeModulePkg/Bus/Pci/NonDiscoverablePciDeviceDxe/NonDiscoverablePciDeviceIo.c @@ -557,6 +557,7 @@ NonCoherentPciIoFreeBuffer ( Dev = NON_DISCOVERABLE_PCI_DEVICE_FROM_PCI_IO(This); Found = FALSE; + Alloc = NULL; // // Find the uncached allocation list entry associated