else if (g_strcmp0(dns_type, "ipv6.dhcp") == 0)
net_info->DnsConfigType6 =
NET_DNS_CONFIG_TYPE_DYNAMIC;
+ g_free(dns_type);
}
}
- g_free(dns_type);
g_variant_iter_free(iter);
net_info->DnsCount = dnsCount;
else if (g_strcmp0(dns_type, "ipv6.dhcp") == 0)
net_info->DnsConfigType6 =
NET_DNS_CONFIG_TYPE_DYNAMIC;
+ g_free(dns_type);
}
}
- g_free(dns_type);
g_variant_iter_free(iter);
net_info->DnsCount = dnsCount;
if (rv != WIFI_MANAGER_ERROR_NONE) {
printf("Fail to set eap type : %s\n", __test_convert_error_to_string(rv));
g_free(ap_name);
+ g_free(inputed_name);
return false;
}
printf("Fail to set eap certificatefile : %s\n",
__test_convert_error_to_string(rv));
g_free(ap_name);
+ g_free(inputed_name);
return false;
}
}
printf("Fail to set eap auth type : %s\n",
__test_convert_error_to_string(rv));
g_free(ap_name);
+ g_free(inputed_name);
return false;
}
if (rv == false || (address_type != 0 && address_type != 1)) {
printf("Invalid input!!\n");
+ g_free(ap_name);
return false;
}
if (rv == false || (address_type != 0 && address_type != 1)) {
printf("Invalid input!!\n");
+ g_free(ap_name);
return false;
}
if (rv == false || (address_type != 0 && address_type != 1)) {
printf("Invalid input!!\n");
+ g_free(ap_name);
return false;
}