diff options
author | Dmitry Belyavskiy <beldmit@gmail.com> | 2020-05-02 00:28:46 +0300 |
---|---|---|
committer | Dmitry Belyavskiy <beldmit@gmail.com> | 2020-05-02 00:28:46 +0300 |
commit | de5876f22cc59e56a3bdd1fe63935e09bbfc2593 (patch) | |
tree | 39fb5708f1bebda7bb206da36f694712e73a075a | |
parent | 96ca13301197c0a60962e97898bfffbb8dbf4ba5 (diff) | |
download | gost-engine-de5876f22cc59e56a3bdd1fe63935e09bbfc2593.zip gost-engine-de5876f22cc59e56a3bdd1fe63935e09bbfc2593.tar.gz gost-engine-de5876f22cc59e56a3bdd1fe63935e09bbfc2593.tar.bz2 |
Free memory
-rw-r--r-- | gost_pmeth.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); } |