From 544648a8e07612449460ebc0e608a226fde38e67 Mon Sep 17 00:00:00 2001 From: Nicola Tuveri Date: Wed, 5 Sep 2018 12:08:12 +0300 Subject: Harmonize the error handling codepath Reviewed-by: Richard Levitte Reviewed-by: Tim Hudson Reviewed-by: Matt Caswell Reviewed-by: Matthias St. Pierre Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/7121) --- crypto/rsa/rsa_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crypto/rsa/rsa_lib.c') diff --git a/crypto/rsa/rsa_lib.c b/crypto/rsa/rsa_lib.c index 16e97c2a00..72d1b5e071 100644 --- a/crypto/rsa/rsa_lib.c +++ b/crypto/rsa/rsa_lib.c @@ -97,7 +97,7 @@ RSA *RSA_new_method(ENGINE *engine) return ret; -err: + err: RSA_free(ret); return NULL; } -- cgit v1.2.3