dc_event_channel_unref

Function dc_event_channel_unref 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn dc_event_channel_unref( event_channel: *mut dc_event_channel_t, )
Expand description

Release the events channel structure.

This function releases the memory of the dc_event_channel_t structure.

you can call it after calling dc_accounts_new_with_event_channel, which took the events channel out of it already, so this just frees the underlying option.