From: Eric Leblond Date: Wed, 26 Jun 2013 07:42:33 +0000 (+0200) Subject: Coverity: 1038139 suppress sanity check X-Git-Tag: suricata-2.0beta1~88 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7df156ef504a45aecefc9216b594e15fc5703dbf;p=thirdparty%2Fsuricata.git Coverity: 1038139 suppress sanity check The sanity check was really useless as the NULL value is checked in the code flow. --- 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;