From: Jouni Malinen Date: Tue, 17 Aug 2010 18:04:07 +0000 (+0300) Subject: Fix memory leak in AP WEP key configuration X-Git-Tag: hostap-1-bp~1232 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43dd46b3bcb9442d4ffc3ed2d241f8e4bb617f9e;p=thirdparty%2Fhostap.git Fix memory leak in AP WEP key configuration --- diff --git a/src/ap/ap_config.c b/src/ap/ap_config.c index fbedb6294..59969933e 100644 --- a/src/ap/ap_config.c +++ b/src/ap/ap_config.c @@ -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_psk_file); + hostapd_config_free_wep(&conf->ssid.wep); #ifdef CONFIG_FULL_DYNAMIC_VLAN os_free(conf->ssid.vlan_tagged_interface); #endif /* CONFIG_FULL_DYNAMIC_VLAN */