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:
Ilan Peer 2015-01-18 20:44:35 -05:00 committed by Jouni Malinen
parent 30f459c098
commit dd09e424c2

View file

@ -2234,6 +2234,7 @@ void wpa_config_free(struct wpa_config *config)
os_free(config->sae_groups);
wpabuf_free(config->ap_vendor_elements);
os_free(config->osu_dir);
os_free(config->bgscan);
os_free(config->wowlan_triggers);
os_free(config);
}