aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/x509
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>1999-01-04 21:43:32 +0000
committerBen Laurie <ben@openssl.org>1999-01-04 21:43:32 +0000
commite416ad9772df448635e91bb6153bf811aede13b3 (patch)
tree0aaa0300cf73b46406b3ec5c3d2027a893d49aec /crypto/x509
parent4a18cddd168bec6a4e22ecf733149efa4d85b3a5 (diff)
downloadopenssl-e416ad9772df448635e91bb6153bf811aede13b3.tar.gz
Free the right thing.
Diffstat (limited to 'crypto/x509')
-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);
}