commit | 3f3c75541ffe082194e48ea9aa5edf2341f77753 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Mon Dec 03 17:49:33 2018 +0300 |
committer | Vinod Koul <vkoul@kernel.org> | Wed Dec 05 13:37:46 2018 +0530 |
tree | 9d93e0dc74337aba036d43b270bbbaf4da7e420e | |
parent | 787d3083caf899b8c3abf5a0c7a04e79d77f2c32 [diff] |
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>