[][src]Function memflow_ffi::connectors::connector_free

#[no_mangle]pub unsafe extern "C" fn connector_free(
    conn: &'static mut CloneablePhysicalMemoryObj
)

Free a connector instance

Safety

conn has to point to a valid CloneablePhysicalMemoryObj created by one of the provided functions.

There has to be no instance of PhysicalMemory created from the input conn, because they will become invalid.