Free extra_cred when freeing configuration
authorJouni Malinen <j@w1.fi>
Fri, 23 Jan 2009 18:51:26 +0000 (20:51 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 23 Jan 2009 18:51:26 +0000 (20:51 +0200)
hostapd/config.c

index 40574ef..a35aaa3 100644 (file)
@@ -2434,6 +2434,7 @@ static void hostapd_config_free_bss(struct hostapd_bss_config *conf)
        os_free(conf->device_type);
        os_free(conf->config_methods);
        os_free(conf->ap_pin);
+       os_free(conf->extra_cred);
 #endif /* CONFIG_WPS */
 }