/* This *must* be freed by using lttng_poll_free() */
events->events = zmalloc(size * sizeof(struct pollfd));
if (events->events == NULL) {
/* This *must* be freed by using lttng_poll_free() */
events->events = zmalloc(size * sizeof(struct pollfd));
if (events->events == NULL) {