diff options
author | ru <ru@FreeBSD.org> | 2005-09-16 10:09:23 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2005-09-16 10:09:23 +0000 |
commit | 02dbbd7982679f0c66e9ffa29caf799b5c1a3bde (patch) | |
tree | a0c4fdcdcc5d1d56ca853fdfed07522b52aa6b71 /sys/dev | |
parent | 985e35fdbaafacb128246b9c324b47382c1c525c (diff) | |
download | FreeBSD-src-02dbbd7982679f0c66e9ffa29caf799b5c1a3bde.zip FreeBSD-src-02dbbd7982679f0c66e9ffa29caf799b5c1a3bde.tar.gz |
Fix "struct ifnet" leak on detach.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ath/if_ath.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c index b96413f..db36f00 100644 --- a/sys/dev/ath/if_ath.c +++ b/sys/dev/ath/if_ath.c @@ -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; } |