mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-27 10:42:52 +01:00
station: fix NAI realms leak
After the known network refactor this string list was no longer set into the network object. Now it should be freed in all cases after the search.
This commit is contained in:
parent
bab9a4b6f2
commit
d2162a7491
@ -478,6 +478,8 @@ static void station_anqp_response_cb(enum anqp_result result,
|
||||
|
||||
known_networks_foreach(match_nai_realms, &search);
|
||||
|
||||
l_strv_free(realms);
|
||||
|
||||
request_done:
|
||||
l_queue_remove(station->anqp_pending, entry);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user