aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config.c
diff options
context:
space:
mode:
authorIlan Peer <ilan.peer@intel.com>2015-01-19 01:44:35 (GMT)
committerJouni Malinen <j@w1.fi>2015-01-20 00:10:05 (GMT)
commitdd09e424c288ccb1f5ed5e8d3497cfaf1bf6dbfb (patch)
treed7bdb207adc1bbd6e0eab864a5ba9be4c4b20787 /wpa_supplicant/config.c
parent30f459c098ccb3179abc4cfcc54619ccd12fefa6 (diff)
downloadhostap-dd09e424c288ccb1f5ed5e8d3497cfaf1bf6dbfb.zip
hostap-dd09e424c288ccb1f5ed5e8d3497cfaf1bf6dbfb.tar.gz
hostap-dd09e424c288ccb1f5ed5e8d3497cfaf1bf6dbfb.tar.bz2
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>
Diffstat (limited to 'wpa_supplicant/config.c')
-rw-r--r--wpa_supplicant/config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/wpa_supplicant/config.c b/wpa_supplicant/config.c
index 1ccae0b..5d7a063 100644
--- a/wpa_supplicant/config.c
+++ b/wpa_supplicant/config.c
@@ -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);
}