bge(4): Small memory leak

CID:		1229985
Reviewed by:	marcel
Differential Review:	https://reviews.freebsd.org/D2024
This commit is contained in:
Pedro F. Giffuni 2015-03-08 19:55:46 +00:00
parent b4ed898162
commit 049855d88f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=279786

View File

@ -1637,6 +1637,7 @@ bge_setmulti(struct bge_softc *sc)
if (if_getflags(ifp) & IFF_ALLMULTI || if_getflags(ifp) & IFF_PROMISC) {
for (i = 0; i < 4; i++)
CSR_WRITE_4(sc, BGE_MAR0 + (i * 4), 0xFFFFFFFF);
free(mta, M_DEVBUF);
return;
}