aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAdrian Chadd <adrian@FreeBSD.org>2017-04-14 20:10:18 +0000
committerAdrian Chadd <adrian@FreeBSD.org>2017-04-14 20:10:18 +0000
commit8ac09f399339a96eb903c59952925569bf917e78 (patch)
treec811e32736afb73ceacca6e4af06cef406855efd /lib
parentf09cb4f208438216b8044b5b2f63e82b08831f42 (diff)
Notes
Diffstat (limited to 'lib')
-rw-r--r--lib/lib80211/lib80211_regdomain.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/lib80211/lib80211_regdomain.c b/lib/lib80211/lib80211_regdomain.c
index 35cc865efb58..ba80ceb4b38e 100644
--- a/lib/lib80211/lib80211_regdomain.c
+++ b/lib/lib80211/lib80211_regdomain.c
@@ -569,6 +569,7 @@ cleanup_bands(netband_head *head)
nb = LIST_FIRST(head);
if (nb == NULL)
break;
+ LIST_REMOVE(nb, next);
free(nb);
}
}