summaryrefslogtreecommitdiffstats
path: root/crypto/comp
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/comp')
-rw-r--r--crypto/comp/comp_lib.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/crypto/comp/comp_lib.c b/crypto/comp/comp_lib.c
index 137a5db7a2..5bed1876a8 100644
--- a/crypto/comp/comp_lib.c
+++ b/crypto/comp/comp_lib.c
@@ -45,9 +45,6 @@ const char *COMP_get_name(const COMP_METHOD *meth)
void COMP_CTX_free(COMP_CTX *ctx)
{
- if (ctx == NULL)
- return;
-
if (ctx->meth->finish != NULL)
ctx->meth->finish(ctx);