From 333a785efd3e3a8635f22ce24fff5cbecb37532a Mon Sep 17 00:00:00 2001 From: Shivani Bhardwaj Date: Wed, 15 Jul 2020 22:37:58 +0530 Subject: [PATCH] sip: remove extra jsonbuilder close --- src/output-json-sip.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/output-json-sip.c b/src/output-json-sip.c index 3fa4d3595e..7400944b50 100644 --- a/src/output-json-sip.c +++ b/src/output-json-sip.c @@ -85,9 +85,6 @@ static int JsonSIPLogger(ThreadVars *tv, void *thread_data, if (!rs_sip_log_json(siptx, js)) { goto error; } - if (!jb_close(js)) { - goto error; - } MemBufferReset(thread->buffer); OutputJsonBuilderBuffer(js, thread->siplog_ctx->file_ctx, &thread->buffer);