提交 24dd01bf 编写于 作者: J Jeff Garzik

[libata] ata_piix: add missing kfree()

Noticed by Andrew Morton.
Signed-off-by: NJeff Garzik <jeff@garzik.org>
上级 370ba07e
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册