projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
graph: remove unnecessary float multiplier
[fio.git]
/
iolog.c
diff --git
a/iolog.c
b/iolog.c
index 88adbf7fb62720224fa6b0dd566067e77cb6855d..7b212bb598f124c3ce745e8f08918d4d0efd4f4d 100644
(file)
--- a/
iolog.c
+++ b/
iolog.c
@@
-536,10
+536,12
@@
void finish_log_named(struct thread_data *td, struct io_log *log,
snprintf(file_name, 200, "%s_%s.log", prefix, postfix);
p = basename(file_name);
snprintf(file_name, 200, "%s_%s.log", prefix, postfix);
p = basename(file_name);
- if (td->client_type == FIO_CLIENT_TYPE_GUI)
+ if (td->client_type == FIO_CLIENT_TYPE_GUI)
{
fio_send_iolog(td, log, p);
fio_send_iolog(td, log, p);
-
- __finish_log(log, p);
+ free(log->log);
+ free(log);
+ } else
+ __finish_log(log, p);
}
void finish_log(struct thread_data *td, struct io_log *log, const char *name)
}
void finish_log(struct thread_data *td, struct io_log *log, const char *name)