contrib/hostapd/hostapd/hostapd.c
static void hostapd_cleanup_iface(struct hostapd_iface *iface)
{
	hostapd_free_hw_features(iface->hw_features, iface->num_hw_features);
	iface->hw_features = NULL;
	os_free(iface->current_rates);
	iface->current_rates = NULL;
	ap_list_deinit(iface);
	hostapd_config_free(iface->conf);
	iface->conf = NULL;

	os_free(iface->config_fname);
	os_free(iface->bss);
	os_free(iface);
}
/**
 * hostapd_cleanup_iface - Complete per-interface cleanup
 * @iface: Pointer to interface data
 *
 * This function is called after per-BSS data structures are deinitialized
 * with hostapd_cleanup().
 */
Complete per-interface cleanup
@iface: Pointer to interface data

This function is called after per-BSS data structures are deinitialized
with hostapd_cleanup().
Complete per - interface cleanup @iface : Pointer to interface data This function is called after per - BSS data structures are deinitialized with hostapd_cleanup () .
static void hostapd_cleanup_iface(struct hostapd_iface *iface)
{
	hostapd_free_hw_features(iface->hw_features, iface->num_hw_features);
	iface->hw_features = NULL;
	os_free(iface->current_rates);
	iface->current_rates = NULL;
	ap_list_deinit(iface);
	hostapd_config_free(iface->conf);
	iface->conf = NULL;
	os_free(iface->config_fname);
	os_free(iface->bss);
	os_free(iface);
}
static void hostapd_cleanup_iface ( struct hostapd_iface * iface ) { hostapd_free_hw_features ( iface -> hw_features , iface -> num_hw_features ) ; iface -> hw_features = NULL ; os_free ( iface -> current_rates ) ; iface -> current_rates = NULL ; ap_list_deinit ( iface ) ; hostapd_config_free ( iface -> conf ) ; iface -> conf = NULL ; os_free ( iface -> config_fname ) ; os_free ( iface -> bss ) ; os_free ( iface ) ; }
hostapd_cleanup_iface - Complete per-interface cleanup
 @iface: Pointer to interface data
hostapd_cleanup_iface - Complete per - interface cleanup @iface : Pointer to interface data