From 2810b8ebebeda933e723c33f8c9f893b76f2391a Mon Sep 17 00:00:00 2001 From: Dmitry Belyavskiy Date: Sat, 9 Jun 2018 15:01:48 +0300 Subject: [PATCH] Missing free --- gost_crypt.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gost_crypt.c b/gost_crypt.c index 27321f4..035a46a 100644 --- a/gost_crypt.c +++ b/gost_crypt.c @@ -236,6 +236,8 @@ void cipher_gost_destroy(void) _hidden_Gost28147_89_cbc = NULL; EVP_CIPHER_meth_free(_hidden_gost89_cnt_12); _hidden_gost89_cnt_12 = NULL; + EVP_CIPHER_meth_free(_hidden_magma_cbc); + _hidden_magma_cbc = NULL; } /* Implementation of GOST 28147-89 in MAC (imitovstavka) mode */ -- 2.39.5