log: remember to free output buffer when done
[fio.git] / client.c
index 0f28cf6373535959f933c0ab8eddb8c495f256bc..b2fef2ad467baeb68ec43dcfad7439998d4a5b5d 100644 (file)
--- a/client.c
+++ b/client.c
@@ -1154,6 +1154,7 @@ static void handle_text(struct fio_client *client, struct fio_net_cmd *cmd)
                __log_buf(&out, "<%s> ", name);
        __log_buf(&out, "%s", buf);
        log_info_buf(out.buf, out.buflen);
+       buf_output_free(&out);
        client->skip_newline = strchr(buf, '\n') == NULL;
 }