From ad0ed582b5c7c5aae4da924efd584700e21bb78f Mon Sep 17 00:00:00 2001 From: "phoglund@webrtc.org" Date: Thu, 20 Dec 2012 09:14:36 +0000 Subject: [PATCH] Fixed a missed initialization (found by valgrind FYI bot). http://webrtc-cb-linux-master.cbf.corp.google.com:8011/builders/LinuxLargeTests/builds/327/steps/memory%20test%3A%20memcheck_voe_auto_test/logs/stdio BUG= TEST=Reproduced valgrind error, verified gone after fixing. Review URL: https://webrtc-codereview.appspot.com/1008005 git-svn-id: http://webrtc.googlecode.com/svn/trunk@3318 4adac7df-926f-26a2-2b94-8c16560cd09d --- webrtc/modules/rtp_rtcp/source/rtp_receiver.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webrtc/modules/rtp_rtcp/source/rtp_receiver.cc b/webrtc/modules/rtp_rtcp/source/rtp_receiver.cc index 51ef3ff98e..00b2ed1a0b 100644 --- a/webrtc/modules/rtp_rtcp/source/rtp_receiver.cc +++ b/webrtc/modules/rtp_rtcp/source/rtp_receiver.cc @@ -673,7 +673,7 @@ WebRtc_Word32 RTPReceiver::IncomingRTPPacket( CheckSSRCChanged(rtp_header); bool is_red = false; - ModuleRTPUtility::PayloadUnion specificPayload; + ModuleRTPUtility::PayloadUnion specificPayload = {}; if (CheckPayloadChanged(rtp_header, first_payload_byte,