commit | bdcd0cec60e1d56da76816d5b8717d8b68fdaf2e | [log] [tgz] |
---|---|---|
author | Carter Hsu <carterhsu@google.com> | Mon Oct 21 09:58:17 2019 +0800 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Fri Nov 15 21:43:33 2019 +0000 |
tree | 56cb73a9204bdf3bd3019b7d5d0eb43ea89f6ce6 | |
parent | 2ea16ffc94dde200c2ab84c83210b82b1a953860 [diff] |
audio: free and assign NULL to global static device pointer From: Preetam Singh Ranawat <apranawat@codeaurora.org> Date: Mon, 24 Jun 2019 15:11:28 +0530 Subject: audio: free and assign NULL to global static device pointer -free and assign NULL to global static device pointer instead of local pointer to avoid use after free issue. Bug: 142267478 Test: manual Change-Id: I6f64fe0f6034844279c9a481726426dc5b989b41 (cherry picked from commit 73d6b59977595c1d0a222a1656f298e7991e43b9)