diff options
| author | Jens Axboe <axboe@kernel.dk> | 2026-01-30 08:03:56 -0700 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-01-30 08:03:56 -0700 |
| commit | a50d7ce532510ab467d307c1ee010386e20ee652 (patch) | |
| tree | bde7c14266b0dfb08904c3be672d20bd2465b193 | |
| parent | 2d953029b289b778e18c9418f7d596bd12232215 (diff) | |
| parent | ada82d74746a9d1c3de66bb6af0619c9b16b5768 (diff) | |
| download | fio-master.tar.gz | |
* 'fix-fork-memleak' of https://github.com/malikoyv/fio:
backend: remove premature free of td->eo in parent process
| -rw-r--r-- | backend.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -2610,9 +2610,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) { @@ -2625,7 +2623,6 @@ reap: _exit(ret); } else if (__td_index == fio_debug_jobno) *fio_debug_jobp = pid; - free(eo); free(fd); fd = NULL; } |
