This commit is contained in:
stoops 2026-05-24 20:27:18 +08:00 committed by GitHub
commit d08aa10bdb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1062,7 +1062,7 @@ tls_session_free(struct tls_session *session, bool clear)
/* we don't need clear=true for this call since
* the structs are part of session and get cleared
* as part of session */
key_state_free(&session->key[i], false);
key_state_free(&session->key[i], true);
}
free(session->common_name);