etherbcm: missing free()

front
cinap_lenrek 2011-12-12 22:42:40 +01:00
parent 9679d7525c
commit 4b8eb68f8d
1 changed files with 1 additions and 0 deletions

View File

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