projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Addedd -z option to specify file size for filepaths fio files
[fio.git]
/
iolog.c
diff --git
a/iolog.c
b/iolog.c
index b867583a27bc1f11e649ab8d88936507affcee53..dfa329fc2e75d7fc0191ada7d227d113762ec434 100644
(file)
--- a/
iolog.c
+++ b/
iolog.c
@@
-876,10
+876,12
@@
int iolog_file_inflate(const char *file)
if (ret < 0) {
perror("fread");
fclose(f);
+ free(buf);
return 1;
} else if (ret != 1) {
log_err("fio: short read on reading log\n");
fclose(f);
+ free(buf);
return 1;
}