diff options
| author | Meng Wang <mwang@codeaurora.org> | 2016-07-27 16:05:53 +0800 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-08-10 23:22:30 -0700 |
| commit | 45ffbb1fba8a1498c206d78fcca420f0d60f2eff (patch) | |
| tree | f5a6089b4733e8c6b2cfdd73741cc5dcafb14245 /tools/perf/scripts | |
| parent | 115b1e7c4e7d1d58de4e96f0d64056dde6ebebb1 (diff) | |
swr-wcd-ctrl: set pointer to null after kfree
In soundwire control drivers, some pointers are not
set as NULL after the memory is freed, which will
leave many dangling pointers. Set them to NULL
explicitly to avoid potential risk.
CRs-Fixed: 997062
Change-Id: I18bd73397173187f87af28c78564835eed6d6a10
Signed-off-by: Meng Wang <mwang@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions
