bge(4): Small memory leak
CID: 1229985 Reviewed by: marcel Differential Review: https://reviews.freebsd.org/D2024
This commit is contained in:
parent
b4ed898162
commit
049855d88f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=279786
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user