projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ioengines: clear out ->td_ops_dlhandle if we close it
[fio.git]
/
ioengines.c
diff --git
a/ioengines.c
b/ioengines.c
index 7951ff32e25c3e5090ebbc212731c6e0e86648a4..cec0c760f4a4a2c8c5cc089b8abc6d843dc492ea 100644
(file)
--- a/
ioengines.c
+++ b/
ioengines.c
@@
-194,8
+194,10
@@
void free_ioengine(struct thread_data *td)
td->eo = NULL;
}
- if (td->io_ops_dlhandle)
+ if (td->io_ops_dlhandle)
{
dlclose(td->io_ops_dlhandle);
+ td->io_ops_dlhandle = NULL;
+ }
td->io_ops = NULL;
}