Browse Source

Fix leak

pull/992/head
Hamish Coleman 2 years ago
parent
commit
188af371ba
  1. 1
      src/cc20.c

1
src/cc20.c

@ -417,5 +417,6 @@ int cc20_deinit (cc20_context_t *ctx) {
#if defined (HAVE_OPENSSL_1_1) #if defined (HAVE_OPENSSL_1_1)
if(ctx->ctx) EVP_CIPHER_CTX_free(ctx->ctx); if(ctx->ctx) EVP_CIPHER_CTX_free(ctx->ctx);
#endif #endif
free(ctx);
return 0; return 0;
} }

Loading…
Cancel
Save