mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
Fix memory leak in wpa_supplicant global bgscan configuration
Global bgscan configuration parameter was not freed when config was freed. Signed-off-by: Ilan Peer <ilan.peer@intel.com>
This commit is contained in:
parent
30f459c098
commit
dd09e424c2
@ -2234,6 +2234,7 @@ void wpa_config_free(struct wpa_config *config)
|
|||||||
os_free(config->sae_groups);
|
os_free(config->sae_groups);
|
||||||
wpabuf_free(config->ap_vendor_elements);
|
wpabuf_free(config->ap_vendor_elements);
|
||||||
os_free(config->osu_dir);
|
os_free(config->osu_dir);
|
||||||
|
os_free(config->bgscan);
|
||||||
os_free(config->wowlan_triggers);
|
os_free(config->wowlan_triggers);
|
||||||
os_free(config);
|
os_free(config);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user