Channel and event context pointer was not set to NULL at creation.
Signed-off-by: David Goulet <david.goulet@polymtl.ca>
lkc->fd = 0;
lkc->stream_count = 0;
lkc->enabled = 1;
lkc->fd = 0;
lkc->stream_count = 0;
lkc->enabled = 1;
/* Init linked list */
CDS_INIT_LIST_HEAD(&lkc->events_list.head);
CDS_INIT_LIST_HEAD(&lkc->stream_list.head);
/* Init linked list */
CDS_INIT_LIST_HEAD(&lkc->events_list.head);
CDS_INIT_LIST_HEAD(&lkc->stream_list.head);
lke->fd = 0;
lke->event = attr;
lke->enabled = 1;
lke->fd = 0;
lke->event = attr;
lke->enabled = 1;