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);