etherbcm: missing free()

This commit is contained in:
cinap_lenrek 2011-12-12 22:42:40 +01:00
parent 9679d7525c
commit 4b8eb68f8d

View file

@ -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;
}