return FALSE;
if (po->apn) {
- free(po->apn);
+ g_free(po->apn);
po->apn = NULL;
}
return TCORE_RETURN_EINVAL;
if (po->addr) {
- free(po->addr);
+ g_free(po->addr);
po->addr = NULL;
}
return TCORE_RETURN_EINVAL;
if (po->username) {
- free(po->username);
+ g_free(po->username);
po->username = NULL;
}
return TCORE_RETURN_EINVAL;
if (po->password) {
- free(po->password);
+ g_free(po->password);
po->password = NULL;
}
return TCORE_RETURN_EINVAL;
if (po->dns1) {
- free(po->dns1);
+ g_free(po->dns1);
po->dns1 = NULL;
}
return TCORE_RETURN_EINVAL;
if (po->dns_primary_v6) {
- free(po->dns_primary_v6);
+ g_free(po->dns_primary_v6);
po->dns_primary_v6 = NULL;
}
return TCORE_RETURN_EINVAL;
if (po->dns2) {
- free(po->dns2);
+ g_free(po->dns2);
po->dns2 = NULL;
}
return TCORE_RETURN_EINVAL;
if (po->dns_secondary_v6) {
- free(po->dns_secondary_v6);
+ g_free(po->dns_secondary_v6);
po->dns_secondary_v6 = NULL;
}
return FALSE;
if (po->proxy) {
- free(po->proxy);
+ g_free(po->proxy);
po->apn = NULL;
}
return FALSE;
if (po->mmsurl) {
- free(po->mmsurl);
+ g_free(po->mmsurl);
po->mmsurl = NULL;
}
return FALSE;
if (po->profile_name) {
- free(po->profile_name);
+ g_free(po->profile_name);
po->profile_name = NULL;
}