Fixed memleak when two voip blocks present in single rtcp packet.
BUG=chromium:603894 Review URL: https://codereview.webrtc.org/1901593002 Cr-Commit-Position: refs/heads/master@{#12413}
This commit is contained in:
@ -136,7 +136,7 @@ class RtcpReceiverTest : public ::testing::Test {
|
||||
rtcp_packet_info_.rtp_timestamp = rtcpPacketInformation.rtp_timestamp;
|
||||
rtcp_packet_info_.xr_dlrr_item = rtcpPacketInformation.xr_dlrr_item;
|
||||
if (rtcpPacketInformation.VoIPMetric)
|
||||
rtcp_packet_info_.AddVoIPMetric(rtcpPacketInformation.VoIPMetric);
|
||||
rtcp_packet_info_.AddVoIPMetric(rtcpPacketInformation.VoIPMetric.get());
|
||||
rtcp_packet_info_.transport_feedback_.reset(
|
||||
rtcpPacketInformation.transport_feedback_.release());
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user