Function safe_authenticator::ffi::auth_free
[−]
[src]
#[no_mangle]pub unsafe extern "C" fn auth_free(auth: *mut Authenticator)
Discard and clean up the previously allocated authenticator instance.
Use this only if the authenticator is obtained from one of the auth
functions in this crate (create_acc
, login
, create_unregistered
).
Using auth
after a call to this function is undefined behaviour.