/* Release all the resources used by the TLS instance. */
VOID TlsCleanInstance(IN TLS_INSTANCE *Instance)
/* Release all the resources used by the TLS instance. */
VOID TlsCleanInstance(IN TLS_INSTANCE *Instance)
{
  if (Instance != NULL) {
    if (Instance->TlsConn != NULL) {
      TlsFree (Instance->TlsConn);
    }
    FreePool (Instance);
  }
}