Fix memory leak in AP WEP key configuration
This commit is contained in:
parent
cb1583f64b
commit
43dd46b3bc
1 changed files with 1 additions and 0 deletions
|
@ -354,6 +354,7 @@ static void hostapd_config_free_bss(struct hostapd_bss_config *conf)
|
||||||
|
|
||||||
os_free(conf->ssid.wpa_passphrase);
|
os_free(conf->ssid.wpa_passphrase);
|
||||||
os_free(conf->ssid.wpa_psk_file);
|
os_free(conf->ssid.wpa_psk_file);
|
||||||
|
hostapd_config_free_wep(&conf->ssid.wep);
|
||||||
#ifdef CONFIG_FULL_DYNAMIC_VLAN
|
#ifdef CONFIG_FULL_DYNAMIC_VLAN
|
||||||
os_free(conf->ssid.vlan_tagged_interface);
|
os_free(conf->ssid.vlan_tagged_interface);
|
||||||
#endif /* CONFIG_FULL_DYNAMIC_VLAN */
|
#endif /* CONFIG_FULL_DYNAMIC_VLAN */
|
||||||
|
|
Loading…
Reference in a new issue