Fixes access ponter after free in connection_info.channel->GetMedium()

PiperOrigin-RevId: 393904932
This commit is contained in:
edwinwu
2021-08-30 19:40:21 -07:00
committed by Copybara-Service
parent ebec902cb8
commit f37dfd2e8a
2 changed files with 6 additions and 7 deletions
+1 -1
View File
@@ -559,7 +559,7 @@ void BwuManager::ProcessBwuPathAvailableEvent(
}
client->GetAnalyticsRecorder().OnOutgoingConnectionAttempt(
endpoint_id, proto::connections::UPGRADE, channel->GetMedium(),
endpoint_id, proto::connections::UPGRADE, medium_,
connection_attempt_result,
SystemClock::ElapsedRealtime() - connection_attempt_start_time,
client->GetConnectionToken(endpoint_id));