projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'master' of https://github.com/donny372/fio into master
[fio.git]
/
init.c
diff --git
a/init.c
b/init.c
index 3d5e4695ae4f1938c6b5bc9395b063fa8650e1d6..9dd5c9b8b1c8f2fc7178bf043a1756a1ba168780 100644
(file)
--- a/
init.c
+++ b/
init.c
@@
-1735,11
+1735,8
@@
static int add_job(struct thread_data *td, const char *jobname, int job_add_num,
if (file_alloced) {
if (td_new->files) {
struct fio_file *f;
- for_each_file(td_new, f, i) {
- if (f->file_name)
- sfree(f->file_name);
- sfree(f);
- }
+ for_each_file(td_new, f, i)
+ fio_file_free(f);
free(td_new->files);
td_new->files = NULL;
}