projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
engines/libpmem: adjust for PMDK >=1.5 usage
[fio.git]
/
init.c
diff --git
a/init.c
b/init.c
index 6ff7c68d72de1329ceb2ab8e84709dcd3519f1e2..491b46e6c70c3d0c319e4bf8d06fecf0233a8c55 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;
}