Commit eefc72e9 authored by Marcus Alanen's avatar Marcus Alanen Committed by Linus Torvalds

[PATCH] [patch, 2.5] fix errorpath in apne.c

parent df33c3f2
......@@ -288,6 +288,7 @@ static int __init apne_probe1(struct net_device *dev, int ioaddr)
/* Allocate dev->priv and fill in 8390 specific dev fields. */
if (ethdev_init(dev)) {
printk (" unable to get memory for dev->priv.\n");
free_irq(IRQ_AMIGA_PORTS, dev);
return -ENOMEM;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment