From f62185c207c7c257ce9d95198bf92ebc6e24f407 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Thu, 10 Apr 2014 08:20:57 +0200 Subject: [PATCH] log-tls: run Disable at shutdown Call OutputTlsLoggerDisable at cleanup. --- src/log-tlslog.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/log-tlslog.c b/src/log-tlslog.c index 8589f8b2b9..0adf7f9ce5 100644 --- a/src/log-tlslog.c +++ b/src/log-tlslog.c @@ -379,6 +379,8 @@ static TmEcode LogTlsLogThreadDeinit(ThreadVars *t, void *data) static void LogTlsLogDeInitCtx(OutputCtx *output_ctx) { + OutputTlsLoggerDisable(); + LogTlsFileCtx *tlslog_ctx = (LogTlsFileCtx *) output_ctx->data; LogFileFreeCtx(tlslog_ctx->file_ctx); SCFree(tlslog_ctx);