summaryrefslogtreecommitdiffstats
path: root/crypto/x509/x509name.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/x509/x509name.c')
-rw-r--r--crypto/x509/x509name.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/x509/x509name.c b/crypto/x509/x509name.c
index 7a1b2b7388..f495d361b9 100644
--- a/crypto/x509/x509name.c
+++ b/crypto/x509/x509name.c
@@ -251,7 +251,7 @@ int set;
return(1);
err:
if (new_name != NULL)
- X509_NAME_ENTRY_free(ne);
+ X509_NAME_ENTRY_free(new_name);
return(0);
}