diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2014-03-05 14:11:57 +0300 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-03-06 12:22:21 +0800 |
commit | 9202c377390f2708dece910f2e066a6308a38abc (patch) | |
tree | 04adda2bdba04b6f092e4fbf379b07ef2bfbd1ab /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | a6cf8f7b53fff6b5e3463793aa9885e133e7ef86 (diff) |
ASoC: Baytrail: fix error handling in sst_byt_dsp_init()
Calling "kfree(byt)" is a double free because that was allocated with
devm_kzalloc(). There were a couple places which leak "byt->msg". That
memory is allocated in msg_empty_list_init().
Fixes: f7d01fd6754c ('ASoC: Intel: Add Intel Baytrail SST DSP IPC support')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions