correctly free thread_data options at the topmost parent process
[fio.git] / backend.c
index 5f0740395bad36cd9d13c30bf6bb9d871805c785..b21c36640e4c5efb096a5633c849820e49444592 100644 (file)
--- a/backend.c
+++ b/backend.c
@@ -2494,10 +2494,7 @@ reap:
                                                        strerror(ret));
                        } else {
                                pid_t pid;
-                               void *eo;
                                dprint(FD_PROCESS, "will fork\n");
-                               eo = td->eo;
-                               read_barrier();
                                pid = fork();
                                if (!pid) {
                                        int ret;
@@ -2506,7 +2503,6 @@ reap:
                                        _exit(ret);
                                } else if (__td_index == fio_debug_jobno)
                                        *fio_debug_jobp = pid;
-                               free(eo);
                                free(fd);
                                fd = NULL;
                        }