3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-26 10:39:23 +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:
James Prestwood 2019-09-11 11:45:56 -07:00 committed by Denis Kenzior
parent bab9a4b6f2
commit d2162a7491

View File

@ -478,6 +478,8 @@ static void station_anqp_response_cb(enum anqp_result result,
known_networks_foreach(match_nai_realms, &search); known_networks_foreach(match_nai_realms, &search);
l_strv_free(realms);
request_done: request_done:
l_queue_remove(station->anqp_pending, entry); l_queue_remove(station->anqp_pending, entry);