commit | 8342c2c0688069d91b8e75df94020fdd99a9781c | [log] [tgz] |
---|---|---|
author | Kevin Rocard <krocard@google.com> | Fri Apr 07 18:50:00 2017 -0700 |
committer | Kevin Rocard <krocard@google.com> | Fri Apr 07 18:50:00 2017 -0700 |
tree | 6ae0e31428b7f219454cd6321be8cbe56f6d7548 | |
parent | f568373527b570e692317c245858cd25da8223bc [diff] |
Prevent leak of sndmonitor resources During vts tests, the audio primary hal interface is queried and release more than 600 times. This patch avoids leaking sndmonitors when initializing and deinitializing the qcom hal repeatedly in the same process. Test: play music and phone call Bug: 36311550 Change-Id: I9b3de1f11afd50fbd824155516c6adecd073ee83 Signed-off-by: Kevin Rocard <krocard@google.com>