]> wagner.pp.ru Git - openssl-gost/engine.git/commitdiff
Missing free
authorDmitry Belyavskiy <beldmit@gmail.com>
Sat, 9 Jun 2018 12:01:48 +0000 (15:01 +0300)
committerDmitry Belyavskiy <beldmit@gmail.com>
Sat, 9 Jun 2018 12:01:48 +0000 (15:01 +0300)
gost_crypt.c

index 27321f4db3af23e18afaf4351550f94e195774f0..035a46a2071a64d9f9b0ab906a1b7dce12324060 100644 (file)
@@ -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 */