projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
iolog: allocate 'cur_log's out of shared pool
[fio.git]
/
iolog.c
diff --git
a/iolog.c
b/iolog.c
index 9391507940112d372c644c6180575a7a4e523398..4ecf39abe914f4afdfda4b181452a9ba775edf5a 100644
(file)
--- a/
iolog.c
+++ b/
iolog.c
@@
-988,6
+988,7
@@
void flush_log(struct io_log *log, int do_append)
cur_log = flist_first_entry(&log->io_logs, struct io_logs, list);
flist_del_init(&cur_log->list);
flush_samples(f, cur_log->log, cur_log->nr_samples * log_entry_sz(log));
+ sfree(cur_log);
}
fclose(f);