From 7df156ef504a45aecefc9216b594e15fc5703dbf Mon Sep 17 00:00:00 2001 From: Eric Leblond Date: Wed, 26 Jun 2013 09:42:33 +0200 Subject: [PATCH] Coverity: 1038139 suppress sanity check The sanity check was really useless as the NULL value is checked in the code flow. --- src/log-tlslog.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/log-tlslog.c b/src/log-tlslog.c index 6ae923ab0d..cbd3b2538b 100644 --- a/src/log-tlslog.c +++ b/src/log-tlslog.c @@ -588,8 +588,7 @@ OutputCtx *LogTlsLogInitCtx(ConfNode *conf) return output_ctx; tlslog_error: - if (tlslog_ctx != NULL) - SCFree(tlslog_ctx); + SCFree(tlslog_ctx); filectx_error: LogFileFreeCtx(file_ctx); return NULL;