From 208e00bfa1d4379c1925104c3ffa5921501bed4a Mon Sep 17 00:00:00 2001 From: ZZMarquis Date: Wed, 16 Jan 2019 10:32:25 +0800 Subject: [PATCH] fix the incorrect free fix the incorrect free --- crypto/gmapi/gmapi_sdf_rsa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/gmapi/gmapi_sdf_rsa.c b/crypto/gmapi/gmapi_sdf_rsa.c index 463f12f1..11cd30b4 100644 --- a/crypto/gmapi/gmapi_sdf_rsa.c +++ b/crypto/gmapi/gmapi_sdf_rsa.c @@ -206,7 +206,7 @@ RSA *RSA_new_from_RSArefPrivateKey(const RSArefPrivateKey *ref) rsa = NULL; end: - RSA_free(ret); + RSA_free(rsa); return ret; }