diff options
-rw-r--r-- | lib/x509/x509.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/x509/x509.c b/lib/x509/x509.c index fa0188ef05..995d5cd5cf 100644 --- a/lib/x509/x509.c +++ b/lib/x509/x509.c @@ -227,8 +227,8 @@ int gnutls_x509_crt_init(gnutls_x509_crt_t * cert) if (result < 0) { gnutls_assert(); asn1_delete_structure(&tmp->cert); - gnutls_free(tmp); gnutls_subject_alt_names_deinit(tmp->san); + gnutls_free(tmp); return result; } |