X-Git-Url: http://www.wagner.pp.ru/gitweb/?a=blobdiff_plain;f=gost_omac_acpkm.c;fp=gost_omac_acpkm.c;h=c22524a3eab9c9044396d65b0d8bba5f3179929d;hb=61e79419da453fb58d9ae24f0f602a9250e50fc0;hp=793a6d3fe60ed16b5583282111dbadc874476371;hpb=20f99cd4df48ed150937a82cc57f233cadcc7c7e;p=openssl-gost%2Fengine.git diff --git a/gost_omac_acpkm.c b/gost_omac_acpkm.c index 793a6d3..c22524a 100644 --- a/gost_omac_acpkm.c +++ b/gost_omac_acpkm.c @@ -68,6 +68,7 @@ static CMAC_ACPKM_CTX *CMAC_ACPKM_CTX_new(void) } ctx->actx = EVP_CIPHER_CTX_new(); if (ctx->actx == NULL) { + EVP_CIPHER_CTX_free(ctx->cctx); OPENSSL_free(ctx); return NULL; }