From 806313ff1a8427b21ef799600d93dc0f52cf9ff4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Kin=C4=8Dl?= Date: Wed, 3 Mar 2021 19:43:19 +0100 Subject: [PATCH] Fixed CID 576473. --- src/ssl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ssl.c b/src/ssl.c index 1f3353d67..213dde472 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -36547,11 +36547,12 @@ int wolfSSL_EC_POINT_get_affine_coordinates_GFp(const WOLFSSL_EC_GROUP *group, mp_clear(&modulus); return WOLFSSL_FAILURE; } + + mp_clear(&modulus); } BN_copy(x, point->X); BN_copy(y, point->Y); - mp_clear(&modulus); return WOLFSSL_SUCCESS; }