Make sure each job loads a private io engine
[fio.git] / ioengines.c
index 1a89ea7691ce7c7f82d71302e966c4377b27f0e9..66991c7cce1f3bb93b6b73981f43e5d3b82039ad 100644 (file)
@@ -158,10 +158,7 @@ void close_ioengine(struct thread_data *td)
        if (td->io_ops->dlhandle)
                dlclose(td->io_ops->dlhandle);
 
-#if 0
-       /* we can't do this for threads, so just leak it, it's exiting */
        free(td->io_ops);
-#endif
        td->io_ops = NULL;
 }