diff options
author | Daniel Baluta <daniel.baluta@nxp.com> | 2018-07-26 17:58:10 +0300 |
---|---|---|
committer | Dong Aisheng <aisheng.dong@nxp.com> | 2019-11-25 15:51:54 +0800 |
commit | b6fdfbcf64e42eba8f70717d14b69cbe86e17b00 (patch) | |
tree | d778e8437d2b53def7561db5d2ce51a48e3ec423 /sound/soc/fsl/fsl_dsp_proxy.h | |
parent | 8f8581c48f25c7a103cf580ab4a79af9186f1b10 (diff) |
MLK-19063: ASoC: fsl_dsp: Fix use after free
Move client freeing later when no one needs it.
This fixes Coverity Issue 3344686.
Note that this also fixes a potential memory leak, if proxy happens to
be NULL.
Reported-by: Ioan-alexandru Palalau <ioan-alexandru.palalau@nxp.com>
Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com>
(cherry picked from commit a0bb3e2d5a0517e46bdf1eb35eb94ff46fd5b709)
Diffstat (limited to 'sound/soc/fsl/fsl_dsp_proxy.h')
0 files changed, 0 insertions, 0 deletions