projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
a254bfc
)
Add missing free(td->sysfs_root);
author
Tomohiro Kusumi
<tkusumi@tuxera.com>
Mon, 23 Jan 2017 15:13:09 +0000
(
00:13
+0900)
committer
Jens Axboe
<axboe@fb.com>
Mon, 23 Jan 2017 15:26:12 +0000
(08:26 -0700)
->sysfs_root for td (not du) is always strdup'd.
Signed-off-by: Tomohiro Kusumi <tkusumi@tuxera.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
filesetup.c
patch
|
blob
|
blame
|
history
diff --git
a/filesetup.c
b/filesetup.c
index eb28826698811058a317fa6544b92bd8f388a368..4aaa903576bbe04dccdfc69e0088c8cd79cf2e76 100644
(file)
--- a/
filesetup.c
+++ b/
filesetup.c
@@
-1208,6
+1208,7
@@
void close_and_free_files(struct thread_data *td)
td->o.filename = NULL;
free(td->files);
free(td->file_locks);
+ free(td->sysfs_root);
td->files_index = 0;
td->files = NULL;
td->file_locks = NULL;