Fix memory leak.

This commit is contained in:
Ben Laurie 2005-11-25 14:26:12 +00:00
parent 9e31e63147
commit ec7033745e

View File

@ -412,6 +412,8 @@ err:
BN_CTX_end(ctx);
if (in_ctx == NULL)
BN_CTX_free(ctx);
if(rsa->e == NULL)
BN_free(e);
return ret;
}