提交 e416ad97 编写于 作者: B Ben Laurie

Free the right thing.

上级 4a18cddd
...@@ -5,6 +5,9 @@ ...@@ -5,6 +5,9 @@
Changes between 0.9.1c and 0.9.2 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. *) rsa_eay.c would attempt to free a NULL context.
[Arne Ansper <arne@ats.cyber.ee>] [Arne Ansper <arne@ats.cyber.ee>]
......
...@@ -251,7 +251,7 @@ int set; ...@@ -251,7 +251,7 @@ int set;
return(1); return(1);
err: err:
if (new_name != NULL) if (new_name != NULL)
X509_NAME_ENTRY_free(ne); X509_NAME_ENTRY_free(new_name);
return(0); return(0);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册