mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
Free the right thing.
This commit is contained in:
parent
4a18cddd16
commit
e416ad9772
3
CHANGES
3
CHANGES
@ -5,6 +5,9 @@
|
||||
|
||||
Changes between 0.9.1c and 0.9.2
|
||||
|
||||
*) X509_name_add_entry() freed the wrong thing after an error.
|
||||
[Arne Ansper <arne@ats.cyber.ee>]
|
||||
|
||||
*) rsa_eay.c would attempt to free a NULL context.
|
||||
[Arne Ansper <arne@ats.cyber.ee>]
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user