commit | 2bffc3cb72e2250cbf6ed7e5f4b399395ca046cb | [log] [tgz] |
---|---|---|
author | decurtis@webrtc.org <decurtis@webrtc.org> | Sat Feb 21 01:45:04 2015 |
committer | decurtis@webrtc.org <decurtis@webrtc.org> | Sat Feb 21 01:45:20 2015 |
tree | c13adc4990525c3d1faa7a2eb45cccf198e1d647 | |
parent | d3a487c28b710f84efb900778e11bdcf33a47139 [diff] |
When clearing the priority message queue, don't copy an item to itself. This avoids a memcpy to overlapping---in this case the same---memory locations. BUG=4100 R=juberti@webrtc.org, pthatcher@webrtc.org Review URL: https://webrtc-codereview.appspot.com/33019004 Cr-Commit-Position: refs/heads/master@{#8449} git-svn-id: http://webrtc.googlecode.com/svn/trunk@8449 4adac7df-926f-26a2-2b94-8c16560cd09d