projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
203160d
)
Free disk util on exit, not on stats display
author
Jens Axboe
<axboe@kernel.dk>
Fri, 30 Mar 2012 06:33:27 +0000
(08:33 +0200)
committer
Jens Axboe
<axboe@kernel.dk>
Fri, 30 Mar 2012 06:33:27 +0000
(08:33 +0200)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
backend.c
patch
|
blob
|
blame
|
history
stat.c
patch
|
blob
|
blame
|
history
diff --git
a/backend.c
b/backend.c
index 968b52213d1abc1e86ddc50092dc8a47b11129f9..75cb18b87484e5e09a43ef8decb3d5e1ed18d0a3 100644
(file)
--- a/
backend.c
+++ b/
backend.c
@@
-1672,6
+1672,7
@@
int fio_backend(void)
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 ac4a00080077c08ba79571340d89ab9598890152..7e2ab36cf7807efe227004bd3e549c8d358ba7cf 100644
(file)
--- a/
stat.c
+++ b/
stat.c
@@
-1069,8
+1069,6
@@
void show_run_stats(void)
else if (!terse_output)
show_disk_util(0);
- free_disk_util();
-
free(runstats);
free(threadstats);
}