commit 184b19c9926495b811904f4e7926b74c1857f710 parent d973c347be2ad1108f0a92eb2b48e82f8385cc81 Author: Denis Kenzior <denkenz@gmail.com> Date: Fri, 30 Apr 2021 11:38:04 -0500 ap: Fix possible memleak of 'rates' Diffstat:
| M | src/ap.c | | | 2 | ++ |
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/ap.c b/src/ap.c @@ -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;