3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-10-04 02:18:49 +02:00

ap: Fix possible memleak of 'rates'

This commit is contained in:
Denis Kenzior 2021-04-30 11:38:04 -05:00
parent d973c347be
commit 184b19c992

View File

@ -2319,6 +2319,8 @@ static bool ap_parse_new_station_ies(const void *data, uint16_t len,
if (rates_out)
*rates_out = rates;
else
l_uintset_free(rates);
return true;