fingerprint,
(sig_status==NULL ? "correct":sig_status));
- if (issuer_commonname)
- g_free(issuer_commonname);
- if (issuer_location)
- g_free(issuer_location);
- if (issuer_organization)
- g_free(issuer_organization);
- if (subject_commonname)
- g_free(subject_commonname);
- if (subject_location)
- g_free(subject_location);
- if (subject_organization)
- g_free(subject_organization);
- if (fingerprint)
- g_free(fingerprint);
- if (sig_status)
- g_free(sig_status);
+ g_free(issuer_commonname);
+ g_free(issuer_location);
+ g_free(issuer_organization);
+ g_free(subject_commonname);
+ g_free(subject_location);
+ g_free(subject_organization);
+ g_free(fingerprint);
+ g_free(sig_status);
return ret;
}
if (cert->x509_cert)
X509_free(cert->x509_cert);
- if (cert->host)
- g_free(cert->host);
+ g_free(cert->host);
g_free(cert);
cert = NULL;
}