diff --git a/drivers/pci/msi.c b/drivers/pci/msi.c index 39dff3fe57af057d86bced6e7e81e6abf38763d8..6f0474ebe4207e3405681f5f3100de06fe15b23e 100644 --- a/drivers/pci/msi.c +++ b/drivers/pci/msi.c @@ -595,6 +595,7 @@ static int populate_msi_sysfs(struct pci_dev *pdev) ++count; msi_attr = msi_attrs[count]; } + kfree(msi_attrs); return ret; }