diff --git a/criu/util.c b/criu/util.c index 91add00f3..634600cec 100644 --- a/criu/util.c +++ b/criu/util.c @@ -1323,6 +1323,7 @@ int epoll_prepare(int nr_fds, struct epoll_event **events) free_events: xfree(*events); + *events = NULL; return -1; }