commit | 9b3359feabbf138bb965da5173434da78bfe0929 | [log] [tgz] |
---|---|---|
author | Haynes Mathew George <hgeorge@codeaurora.org> | Wed Mar 23 19:09:10 2016 -0700 |
committer | Glenn Kasten <gkasten@google.com> | Fri Mar 25 10:15:37 2016 -0700 |
tree | 3df815199a5a03f0f2e06ddbf02ef9c565dbe518 | |
parent | 15ac558b0f1873dbe0d9c1e6fed042a349f8b5a4 [diff] |
libmedia: Initialize state vars to avoid possible crash If playback or record track creation fails on server side, some state is left initialized incorrectly. This can cause a crash when the object is destroyed because of a reference to a NULL object. Initialize state vars properly in the initialization list to avoid this behavior. authored-by: Zhou Song <zhous@codeaurora.org> CRs-Fixed: 992608 Change-Id: If8c3611e3229c0c1b14b81285e07b9357fec7658