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
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue