diff options
-rw-r--r-- | drivers/atm/zatm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/atm/zatm.c b/drivers/atm/zatm.c index 8d5e65cb9755..afcf1ada5547 100644 --- a/drivers/atm/zatm.c +++ b/drivers/atm/zatm.c | |||
@@ -1339,7 +1339,7 @@ static int __init zatm_start(struct atm_dev *dev) | |||
1339 | return 0; | 1339 | return 0; |
1340 | out: | 1340 | out: |
1341 | for (i = 0; i < NR_MBX; i++) | 1341 | for (i = 0; i < NR_MBX; i++) |
1342 | kfree(zatm_dev->mbx_start[i]); | 1342 | kfree(&zatm_dev->mbx_start[i]); |
1343 | kfree(zatm_dev->rx_map); | 1343 | kfree(zatm_dev->rx_map); |
1344 | kfree(zatm_dev->tx_map); | 1344 | kfree(zatm_dev->tx_map); |
1345 | free_irq(zatm_dev->irq, dev); | 1345 | free_irq(zatm_dev->irq, dev); |