commit | 24dd01bfbce685395dc0ade71308326b3861187a | [log] [tgz] |
---|---|---|
author | Jeff Garzik <jeff@garzik.org> | Mon Aug 14 14:22:54 2006 -0400 |
committer | Jeff Garzik <jeff@garzik.org> | Mon Aug 14 14:22:54 2006 -0400 |
tree | 50e9e225deb05109502b003643a359369c6c2df9 | |
parent | 370ba07eb8324569636bacb47abba79587640d05 [diff] |
[libata] ata_piix: add missing kfree() Noticed by Andrew Morton. Signed-off-by: Jeff Garzik <jeff@garzik.org>
diff --git a/drivers/ata/ata_piix.c b/drivers/ata/ata_piix.c index 46c34fd..51d919c 100644 --- a/drivers/ata/ata_piix.c +++ b/drivers/ata/ata_piix.c
@@ -932,7 +932,11 @@ 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)