ref: 4b8eb68f8d4fec6e49d03f1aceea68df0543aeeb
parent: 9679d7525c205de90e9dcadcf6762b04114f8c45
author: cinap_lenrek <cinap_lenrek@centraldogma>
date: Mon Dec 12 17:42:40 EST 2011
etherbcm: missing free()
--- a/sys/src/9/pc/etherbcm.c
+++ b/sys/src/9/pc/etherbcm.c
@@ -800,6 +800,7 @@
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;
}