lib: initialize event channel structure
@@ -138,6 +138,8 @@ flb_ctx_t *flb_create()
/* Prepare the notification channels */
ctx->event_channel = flb_calloc(1, sizeof(struct mk_event));
+ MK_EVENT_ZERO(ctx->event_channel);
+
ret = mk_event_channel_create(config->ch_evl,
&config->ch_notif[0],
&config->ch_notif[1],
