X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;ds=sidebyside;f=log.c;h=f962864d912d9b5cdc3bfbc39286241fdd717665;hb=3f46e64fbd2c76cc89ef8ddfc9189bac285ef638;hp=1ac2e35345b91a4e691c66d0f68924adc609b428;hpb=03e20d687566753b90383571e5e152c5142bdffd;p=fio.git diff --git a/log.c b/log.c index 1ac2e353..f962864d 100644 --- 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; }