Merge branch 'winfio'
authorJens Axboe <jaxboe@fusionio.com>
Mon, 10 Jan 2011 19:20:25 +0000 (20:20 +0100)
committerJens Axboe <jaxboe@fusionio.com>
Mon, 10 Jan 2011 19:20:25 +0000 (20:20 +0100)
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;
        }