Commit b09f333a authored by Muli Ben-Yehuda's avatar Muli Ben-Yehuda Committed by Christoph Hellwig

ISDN: [PATCH] memory leak in tpam_queues.c

This patch fixes a memory leak on an error path in tpam_queues.c
parent fdfa4630
......@@ -145,6 +145,7 @@ irqreturn_t tpam_irq(int irq, void *dev_id, struct pt_regs *regs)
do {
hpic = readl(card->bar0 + TPAM_HPIC_REGISTER);
if (waiting_too_long++ > 0xfffffff) {
kfree_skb(skb);
spin_unlock(&card->lock);
printk(KERN_ERR "TurboPAM(tpam_irq): "
"waiting too long...\n");
......
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