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