Skip to main content

aivdm_message_free

Function aivdm_message_free 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn aivdm_message_free(msg: *mut AivdmMessage)
Expand description

Frees a message handle returned by aivdm_decode_line. Passing NULL is a no-op.

ยงSafety

msg must be NULL or a pointer previously returned by aivdm_decode_line that has not already been freed.