Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 24dd01bf authored by Jeff Garzik's avatar Jeff Garzik
Browse files

[libata] ata_piix: add missing kfree()



Noticed by Andrew Morton.

Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 370ba07e
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -932,7 +932,11 @@ static int piix_init_one (struct pci_dev *pdev, const struct pci_device_id *ent)

static void piix_host_stop(struct ata_host_set *host_set)
{
	struct piix_host_priv *hpriv = host_set->private_data;

	ata_host_stop(host_set);

	kfree(hpriv);
}

static int __init piix_init(void)