Commit 5b50077e authored by Dave Jones's avatar Dave Jones

[PATCH] Mem leak in sunbmac

parent e8c37ac3
......@@ -1209,6 +1209,7 @@ static int __init bigmac_ether_init(struct net_device *dev, struct sbus_dev *qec
bp->bblock_dvma);
unregister_netdev(dev);
kfree(dev->priv);
kfree(dev);
return -ENODEV;
}
......
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