Searched refs:event_ret (Results 1 – 1 of 1) sorted by relevance
666 } *event_ret; in adf_read_event() local678 event_ret = malloc(header.length); in adf_read_event()679 if (!event_ret) in adf_read_event()683 memcpy(event_ret, &header, sizeof(header)); in adf_read_event()684 ssize_t read_size = read(fd, &event_ret->data, data_size); in adf_read_event()694 *event = &event_ret->base; in adf_read_event()698 free(event_ret); in adf_read_event()