diff options
| author | Ruslan Ermilov <ru@FreeBSD.org> | 2005-09-16 12:17:12 +0000 |
|---|---|---|
| committer | Ruslan Ermilov <ru@FreeBSD.org> | 2005-09-16 12:17:12 +0000 |
| commit | 330fd412b57222c376fc0b9f236dcd586bb24962 (patch) | |
| tree | d7d514398c2f57b1838f480ae3e06786e072a559 /sys | |
| parent | 14e982563498165f88306cc96fe3bd9cd6908069 (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/dev/ral/if_ral.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/ral/if_ral.c b/sys/dev/ral/if_ral.c index e8672c4ff2159..b7b7316238f11 100644 --- a/sys/dev/ral/if_ral.c +++ b/sys/dev/ral/if_ral.c @@ -508,9 +508,8 @@ ral_attach(device_t dev) fail7: bpfdetach(ifp); ieee80211_ifdetach(ic); -fail6: if_free(ifp); - - ral_free_rx_ring(sc, &sc->rxq); + if_free(ifp); +fail6: ral_free_rx_ring(sc, &sc->rxq); fail5: ral_free_tx_ring(sc, &sc->bcnq); fail4: ral_free_tx_ring(sc, &sc->prioq); fail3: ral_free_tx_ring(sc, &sc->atimq); |
