From 3895fc344065985c69db4b36b9992c880c19892b Mon Sep 17 00:00:00 2001 From: Marc Alexander Lehmann Date: Mon, 24 Jun 2019 21:34:47 +0000 Subject: [PATCH] *** empty log message *** --- ev_linuxaio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ev_linuxaio.c b/ev_linuxaio.c index 9ebbdac..e0e9ee5 100644 --- a/ev_linuxaio.c +++ b/ev_linuxaio.c @@ -129,9 +129,9 @@ inline_size void linuxaio_array_needsize_iocbp (ANIOCBP *base, int offset, int count) { - /* TODO: quite the overhead to allocate every iocb separately, maybe use our own alocator? */ while (count--) { + /* TODO: quite the overhead to allocate every iocb separately, maybe use our own alocator? */ ANIOCBP iocb = (ANIOCBP)ev_malloc (sizeof (*iocb)); /* full zero initialise is probably not required at the moment, but