Unload twice causes segfault.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2406 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
19419bb3d1
commit
16a89ae2ef
|
@ -137,7 +137,6 @@ void PKCS11_CTX_unload(PKCS11_CTX * ctx)
|
|||
*/
|
||||
void PKCS11_CTX_free(PKCS11_CTX * ctx)
|
||||
{
|
||||
PKCS11_CTX_unload(ctx); /* Make sure */
|
||||
OPENSSL_free(ctx->manufacturer);
|
||||
OPENSSL_free(ctx->description);
|
||||
OPENSSL_free(ctx->_private);
|
||||
|
|
Loading…
Reference in New Issue