scsi/mvsas: Fix the memleak of struct sas_ha_struct:lldd_ha.
PATCH 1/1 scsi/mvsas: Fix the memleak of struct sas_ha_struct:lldd_ha.
Signed-off-by majianpeng <[email protected]>
--- drivers/scsi/mvsas/mv_init.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/scsi/mvsas/mv_init.c +1 -0
@@ -671,6 +671,7 @@ static void __devexit mvs_pci_remove(struct pci_dev *pdev) }kfree (sha->sas_phy);kfree (sha->sas_port); +kfree (sha->lldd_ha);kfree (sha);pci_release_regions (pdev);pci_disable_device (pdev);
Signature · 6 lines
1.7.5.4 -------------- kedacomkernel 2012-05-15