[][src]Function srtp2_sys::srtp_dealloc

pub unsafe extern "C" fn srtp_dealloc(s: srtp_t) -> srtp_err_status_t

@brief srtp_dealloc() deallocates storage for an SRTP session context.

The function call srtp_dealloc(s) deallocates storage for the SRTP session context s. This function should be called no more than one time for each of the contexts allocated by the function srtp_create().

@param s is the srtp_t for the session to be deallocated.

@return

  • srtp_err_status_ok if there no problems.
  • srtp_err_status_dealloc_fail a memory deallocation failure occured.