[lib80211] fix a missing cleanup path.

PR:		lib/218655
Reported by:	<valentin.vergez@stormshield.eu>
This commit is contained in:
Adrian Chadd 2017-04-14 20:10:18 +00:00
parent f09cb4f208
commit 8ac09f3993
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=316939

View file

@ -569,6 +569,7 @@ cleanup_bands(netband_head *head)
nb = LIST_FIRST(head);
if (nb == NULL)
break;
LIST_REMOVE(nb, next);
free(nb);
}
}