From 0b80f9c02533d920b03bd9a7203f512b55757690 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Wed, 25 Aug 2010 10:25:17 +0200 Subject: [PATCH 1/1] Fix access of freed memory Signed-off-by: Jens Axboe --- log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/log.c b/log.c index 048100c6..6117b702 100644 --- a/log.c +++ b/log.c @@ -144,7 +144,7 @@ int read_iolog_get(struct thread_data *td, struct io_u *io_u) free(ipo); - if (ipo->ddir != DDIR_WAIT) + if (io_u->ddir != DDIR_WAIT) return 0; } -- 2.25.1