From: Jens Axboe Date: Wed, 25 Aug 2010 08:25:17 +0000 (+0200) Subject: Fix access of freed memory X-Git-Tag: fio-1.43.1~4 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=0b80f9c02533d920b03bd9a7203f512b55757690;hp=9446dbd6765dfa85600c3b4f79540908f37ad8ad Fix access of freed memory Signed-off-by: Jens Axboe --- 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; }