Skip to contentSkip to conversation

Recent changes (master)

PATCH Jens Axboe 1 participant 1 message May 16

lore
Share & tools
lore

Jens Axboe

author
#0 lore raw

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:

init.c +8 -0
index cce79e84..d1bf6bfb 100644
@@ -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();
 	}