Merge pull request #675 from ZZMarquis/patch-3

fix the incorrect free
This commit is contained in:
Zhi Guan
2019-01-23 19:01:47 +08:00
committed by GitHub

View File

@@ -206,7 +206,7 @@ RSA *RSA_new_from_RSArefPrivateKey(const RSArefPrivateKey *ref)
rsa = NULL;
end:
RSA_free(ret);
RSA_free(rsa);
return ret;
}