Free disk util on exit, not on stats display
Signed-off-by: Jens Axboe <axboe@kernel.dk>
diff --git a/backend.c b/backend.c
index 968b522..75cb18b 100644
--- a/backend.c
+++ b/backend.c
@@ -1672,6 +1672,7 @@
for_each_td(td, i)
fio_options_free(td);
+ free_disk_util();
cgroup_kill(cgroup_list);
sfree(cgroup_list);
sfree(cgroup_mnt);
diff --git a/stat.c b/stat.c
index ac4a000..7e2ab36 100644
--- a/stat.c
+++ b/stat.c
@@ -1069,8 +1069,6 @@
else if (!terse_output)
show_disk_util(0);
- free_disk_util();
-
free(runstats);
free(threadstats);
}