diff --git a/src/cc20.c b/src/cc20.c index 168a423..73fab8c 100644 --- a/src/cc20.c +++ b/src/cc20.c @@ -417,5 +417,6 @@ int cc20_deinit (cc20_context_t *ctx) { #if defined (HAVE_OPENSSL_1_1) if(ctx->ctx) EVP_CIPHER_CTX_free(ctx->ctx); #endif + free(ctx); return 0; }