From: Dmitry Belyavskiy Date: Fri, 1 May 2020 21:28:46 +0000 (+0300) Subject: Free memory X-Git-Tag: v3.0.0~183 X-Git-Url: http://wagner.pp.ru/gitweb/?a=commitdiff_plain;h=de5876f22cc59e56a3bdd1fe63935e09bbfc2593;p=openssl-gost%2Fengine.git Free memory --- diff --git a/gost_pmeth.c b/gost_pmeth.c index cac31e8..3f60210 100644 --- a/gost_pmeth.c +++ b/gost_pmeth.c @@ -193,6 +193,7 @@ static int pkey_gost_ec_ctrl_str_common(EVP_PKEY_CTX *ctx, return 0; } memcpy(ukm_buf, tmp, len); + OPENSSL_free(tmp); return pkey_gost_ctrl(ctx, EVP_PKEY_CTRL_SET_IV, len, ukm_buf); }