mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-13 13:50:40 +01:00
![]() The error paths free the memory referenced by each pointer in the struct, but if the pointers are not initialized, random memory belonging to other parts of the program could be freed instead. Zero out the entire struct as soon as it is allocated to ensure that nothing is freed if there is nothing to free. Bug: webrtc:11446 Change-Id: I8a2985d1388477339351aa03107ee68925372d49 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/171121 Commit-Queue: Karl Wiberg <kwiberg@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Cr-Commit-Position: refs/heads/master@{#30852} |
||
---|---|---|
.. | ||
aecm_core.cc | ||
aecm_core.h | ||
aecm_core_c.cc | ||
aecm_core_mips.cc | ||
aecm_core_neon.cc | ||
aecm_defines.h | ||
BUILD.gn | ||
echo_control_mobile.cc | ||
echo_control_mobile.h |