diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2018-12-03 17:49:33 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2018-12-05 11:07:46 +0300 |
commit | 3f3c75541ffe082194e48ea9aa5edf2341f77753 (patch) | |
tree | 9d93e0dc74337aba036d43b270bbbaf4da7e420e /drivers/perf/arm-cci.c | |
parent | 787d3083caf899b8c3abf5a0c7a04e79d77f2c32 (diff) | |
download | linux-3f3c75541ffe082194e48ea9aa5edf2341f77753.tar.xz |
dmaengine: dmatest: fix a small memory leak in dmatest_func()
We recently moved the test size tests around but it means we need to
adjust the error handling as well or we leak the "pq_coefs" memory. I
updated the label name to reflect that we're freeing coefs.
Fixes: 787d3083caf8 ("dmaengine: dmatest: move size checks earlier in function")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/perf/arm-cci.c')
0 files changed, 0 insertions, 0 deletions