diff options
Diffstat (limited to 'lib/libcrypto/asn1/x_name.c')
-rw-r--r-- | lib/libcrypto/asn1/x_name.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libcrypto/asn1/x_name.c b/lib/libcrypto/asn1/x_name.c index 70459babc43..366ff179769 100644 --- a/lib/libcrypto/asn1/x_name.c +++ b/lib/libcrypto/asn1/x_name.c @@ -164,8 +164,7 @@ x509_name_ex_free(ASN1_VALUE **pval, const ASN1_ITEM *it) BUF_MEM_free(a->bytes); sk_X509_NAME_ENTRY_pop_free(a->entries, X509_NAME_ENTRY_free); - if (a->canon_enc) - free(a->canon_enc); + free(a->canon_enc); free(a); *pval = NULL; } |