fix the incorrect free

fix the incorrect free
This commit is contained in:
ZZMarquis
2019-01-16 10:32:25 +08:00
committed by GitHub
parent 27d4c7a453
commit 208e00bfa1

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;
}