etherbcm: missing free()
parent
9679d7525c
commit
4b8eb68f8d
|
@ -800,6 +800,7 @@ bcmpci(void)
|
||||||
mem = vmap(pdev->mem[0].bar & ~0x0F, pdev->mem[0].size);
|
mem = vmap(pdev->mem[0].bar & ~0x0F, pdev->mem[0].size);
|
||||||
if(mem == nil) {
|
if(mem == nil) {
|
||||||
print("bcm: can't map %8.8luX\n", pdev->mem[0].bar);
|
print("bcm: can't map %8.8luX\n", pdev->mem[0].bar);
|
||||||
|
free(ctlr->sends);
|
||||||
free(ctlr);
|
free(ctlr);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue