Fix "struct ifnet" leak on detach.

This commit is contained in:
ru 2005-09-16 10:09:23 +00:00
parent 985e35fdba
commit 02dbbd7982

View File

@ -628,6 +628,7 @@ ath_detach(struct ath_softc *sc)
ath_desc_free(sc);
ath_tx_cleanup(sc);
ath_hal_detach(sc->sc_ah);
if_free(ifp);
return 0;
}