projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
t/gen-rand: use 32-bit random generator
[fio.git]
/
backend.c
diff --git
a/backend.c
b/backend.c
index 6083a51e7e5478557b1f7c4f79fb84363cde1bbc..7f57c65ae64678d10f351db12abaa3cfe287d098 100644
(file)
--- a/
backend.c
+++ b/
backend.c
@@
-1711,6
+1711,15
@@
err:
cgroup_shutdown(td, &cgroup_mnt);
verify_free_state(td);
cgroup_shutdown(td, &cgroup_mnt);
verify_free_state(td);
+ if (td->zone_state_index) {
+ int i;
+
+ for (i = 0; i < DDIR_RWDIR_CNT; i++)
+ free(td->zone_state_index[i]);
+ free(td->zone_state_index);
+ td->zone_state_index = NULL;
+ }
+
if (fio_option_is_set(o, cpumask)) {
ret = fio_cpuset_exit(&o->cpumask);
if (ret)
if (fio_option_is_set(o, cpumask)) {
ret = fio_cpuset_exit(&o->cpumask);
if (ret)