From dd78fa860abc00b12bf10299e7709ac2eea50439 Mon Sep 17 00:00:00 2001 From: avos Date: Sun, 9 Dec 2018 05:35:22 +0000 Subject: [PATCH] MFC r316939: [lib80211] fix a missing cleanup path. PR: lib/218655 Reported by: --- lib/lib80211/lib80211_regdomain.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/lib80211/lib80211_regdomain.c b/lib/lib80211/lib80211_regdomain.c index 32901a6b56e..802c0764e57 100644 --- a/lib/lib80211/lib80211_regdomain.c +++ b/lib/lib80211/lib80211_regdomain.c @@ -539,6 +539,7 @@ cleanup_bands(netband_head *head) nb = LIST_FIRST(head); if (nb == NULL) break; + LIST_REMOVE(nb, next); free(nb); } } -- 2.45.0