[lib80211] fix a missing cleanup path.
PR: lib/218655 Reported by: <valentin.vergez@stormshield.eu>
This commit is contained in:
parent
f09cb4f208
commit
8ac09f3993
@ -569,6 +569,7 @@ cleanup_bands(netband_head *head)
|
||||
nb = LIST_FIRST(head);
|
||||
if (nb == NULL)
|
||||
break;
|
||||
LIST_REMOVE(nb, next);
|
||||
free(nb);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user