projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'fix/json/strdup_memory_leak' of https://github.com/dpronin/fio
[fio.git]
/
ioengines.c
diff --git
a/ioengines.c
b/ioengines.c
index d08a511a0635eccc090528dfa2ff242fd5719209..68f307e541a9f5b0cd469c5f7fc695506b8e5144 100644
(file)
--- a/
ioengines.c
+++ b/
ioengines.c
@@
-223,6
+223,8
@@
struct ioengine_ops *load_ioengine(struct thread_data *td)
*/
void free_ioengine(struct thread_data *td)
{
+ assert(td != NULL && td->io_ops != NULL);
+
dprint(FD_IO, "free ioengine %s\n", td->io_ops->name);
if (td->eo && td->io_ops->options) {