aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/pci/mmconfig-shared.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/pci/mmconfig-shared.c')
-rw-r--r--arch/x86/pci/mmconfig-shared.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/pci/mmconfig-shared.c b/arch/x86/pci/mmconfig-shared.c
index 498e35ee428e..8f204955427c 100644
--- a/arch/x86/pci/mmconfig-shared.c
+++ b/arch/x86/pci/mmconfig-shared.c
@@ -300,6 +300,7 @@ static void __init pci_mmcfg_reject_broken(void)
300 300
301reject: 301reject:
302 printk(KERN_ERR "PCI: Not using MMCONFIG.\n"); 302 printk(KERN_ERR "PCI: Not using MMCONFIG.\n");
303 pci_mmcfg_arch_free();
303 kfree(pci_mmcfg_config); 304 kfree(pci_mmcfg_config);
304 pci_mmcfg_config = NULL; 305 pci_mmcfg_config = NULL;
305 pci_mmcfg_config_num = 0; 306 pci_mmcfg_config_num = 0;