summaryrefslogtreecommitdiffstats
path: root/src/H5ESlist.c
diff options
context:
space:
mode:
authorjhendersonHDF <jhenderson@hdfgroup.org>2021-12-11 04:48:50 (GMT)
committerGitHub <noreply@github.com>2021-12-11 04:48:50 (GMT)
commitdd3c61c38436275220ee9aacae5aaccd7f0c241e (patch)
treedbe304ed8b4d0955cc43ef97eecc1a18e15204c7 /src/H5ESlist.c
parentc0a13fd9d88e27b3996bc76c2927461634de5675 (diff)
downloadhdf5-dd3c61c38436275220ee9aacae5aaccd7f0c241e.zip
hdf5-dd3c61c38436275220ee9aacae5aaccd7f0c241e.tar.gz
hdf5-dd3c61c38436275220ee9aacae5aaccd7f0c241e.tar.bz2
Fixes for async operations (#1272)
Setup VOL wrapping context for each "request" callback Set H5ES_event_t "next" pointer to NULL when appending to event list
Diffstat (limited to 'src/H5ESlist.c')
-rw-r--r--src/H5ESlist.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5ESlist.c b/src/H5ESlist.c
index c0e24cc..3180322 100644
--- a/src/H5ESlist.c
+++ b/src/H5ESlist.c
@@ -88,6 +88,8 @@ H5ES__list_append(H5ES_event_list_t *el, H5ES_event_t *ev)
HDassert(el);
HDassert(ev);
+ ev->next = NULL;
+
/* Append event onto the event list */
if (NULL == el->tail)
el->head = el->tail = ev;