splice: use ->o.memalign to indicate we want aligned buffers
[fio.git] / log.c
diff --git a/log.c b/log.c
index 1ac2e35345b91a4e691c66d0f68924adc609b428..f962864d912d9b5cdc3bfbc39286241fdd717665 100644 (file)
--- a/log.c
+++ b/log.c
@@ -415,6 +415,7 @@ static int init_iolog_read(struct thread_data *td)
        if (!p) {
                td_verror(td, errno, "iolog read");
                log_err("fio: unable to read iolog\n");
+               fclose(f);
                return 1;
        }