diff options
-rw-r--r-- | drivers/net/tokenring/3c359.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/tokenring/3c359.c b/drivers/net/tokenring/3c359.c index 8a43ecd0d6e7..e7a944657cf8 100644 --- a/drivers/net/tokenring/3c359.c +++ b/drivers/net/tokenring/3c359.c | |||
@@ -669,6 +669,8 @@ static int xl_open(struct net_device *dev) | |||
669 | if (i==0) { | 669 | if (i==0) { |
670 | printk(KERN_WARNING "%s: Not enough memory to allocate rx buffers. Adapter disabled \n",dev->name) ; | 670 | printk(KERN_WARNING "%s: Not enough memory to allocate rx buffers. Adapter disabled \n",dev->name) ; |
671 | free_irq(dev->irq,dev) ; | 671 | free_irq(dev->irq,dev) ; |
672 | kfree(xl_priv->xl_tx_ring); | ||
673 | kfree(xl_priv->xl_rx_ring); | ||
672 | return -EIO ; | 674 | return -EIO ; |
673 | } | 675 | } |
674 | 676 | ||