[][src]Function mmal_sys::mmal_component_release

pub unsafe extern "C" fn mmal_component_release(
    component: *mut MMAL_COMPONENT_T
) -> Type

Release a reference on a component Release an acquired reference on a component. Triggers the destruction of the component when the last reference is being released. \note This is in fact an alias of \ref mmal_component_destroy which is added to make client code clearer.

@param component component to release @return MMAL_SUCCESS on success