Recent changes (master)

Jens Axboe <[email protected]> Sat, 16 May 2026 06:00:01 -0600
Newsgroups org.kernel.vger.fio
Message-ID <[email protected]>
The following changes since commit 3ea531dfc54aaccb6a5846f37e6cfefedd7ff60e:

  Merge branch 't_io_uring_htlb' of https://github.com/ming1/fio (2026-05-12 10:21:09 -0600)

are available in the Git repository at:

  git://git.kernel.dk/fio.git master

for you to fetch changes up to 4de5b267a716a9b7b71b212e0b948743f70c4d54:

  Merge branch 'pr-free-td-init' of https://github.com/malikoyv/fio (2026-05-15 08:03:55 -0600)

----------------------------------------------------------------
Jens Axboe (1):
      Merge branch 'pr-free-td-init' of https://github.com/malikoyv/fio

Yehor Malikov (1):
      init: fix memory leaks reported by LeakSanitizer

 init.c | 8 ++++++++
 1 file changed, 8 insertions(+)

---

Diff of recent changes:

diff --git a/init.c b/init.c
index cce79e84..d1bf6bfb 100644
--- a/init.c
+++ b/init.c
@@ -340,6 +340,14 @@ static void free_shm(void)
 		flow_exit();
 		fio_debug_jobp = NULL;
 		fio_warned = NULL;
+
+		for_each_td(td) {
+			if (td->io_ops)
+				free_ioengine(td);
+			free(td->files);
+			td->files = NULL;
+		} end_for_each();
+
 		free_threads_shm();
 	}