mirror of
https://github.com/ntop/n2n.git
synced 2024-09-19 16:41:11 +02:00
Fix leak
This commit is contained in:
parent
a2a8c3d4ee
commit
188af371ba
|
@ -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…
Reference in New Issue
Block a user