client: use temp buffer for single output flush for json/disk util
[fio.git] / backend.c
index 314d6e33f5b981c03f4fd727979d4e101bee8a7b..bb8bd13bd11f973e616fd3897483e27ec833cbc5 100644 (file)
--- a/backend.c
+++ b/backend.c
@@ -2228,6 +2228,7 @@ static void run_threads(struct sk_out *sk_out)
                }
                __log_buf(&out, "\n");
                log_info_buf(out.buf, out.buflen);
+               buf_output_free(&out);
        }
 
        todo = thread_number;