commit | 135ed75f1466009dbfd03f02aef3bbad89acb328 | [log] [tgz] |
---|---|---|
author | jiabin <jiabin@google.com> | Thu Apr 05 17:16:20 2018 -0700 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Tue May 08 18:58:27 2018 +0000 |
tree | 0a80a7bade0268e609d04b9a0a8d8a9cd6e5d843 | |
parent | 238762d94ee190b90127b93aad364657c1d8a564 [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 (cherry picked from commit ebe0777edcf3b9c6bde9771d65399e2363dc6e40)