commit | f2f6999b329654641e6af29678f5aa047325d3a0 | [log] [tgz] |
---|---|---|
author | jiabin <jiabin@google.com> | Thu Apr 05 17:16:20 2018 -0700 |
committer | jiabin <jiabin@google.com> | Thu Apr 05 17:16:20 2018 -0700 |
tree | 4d0ee59b5c7a5782708374f54ea154c270dbb5f5 | |
parent | 93768b1382f021f29772cc72da6f48dc2fb225f7 [diff] |
Init gain config to prevent uninit leak. In AudioPortConfig, we only initialize index for audio_gain_config, but not other fields. That may cause uninit leak at listAudioPorts and listAudioPatches. Bug: 77238250 Bug: 77238762 Test: try repo steps at the bug description. Change-Id: I57e3bd0598f9aa698a6fa3d3c0218b046de34e2f