diff options
author | 2023-01-18 17:28:01 +0530 | |
---|---|---|
committer | 2023-01-18 22:18:38 +0530 | |
commit | a7a7ee6f5a019ad72852c001abbce50d35e992f2 (patch) | |
tree | 016fe18e4292701170367f62370b90f8c9fb36b2 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | dmaengine: xilinx_dma: call of_node_put() when breaking out of for_each_child_of_node() (diff) | |
download | linux-rng-a7a7ee6f5a019ad72852c001abbce50d35e992f2.tar.xz linux-rng-a7a7ee6f5a019ad72852c001abbce50d35e992f2.zip |
dmaengine: tegra: Fix memory leak in terminate_all()
Terminate vdesc when terminating an ongoing transfer.
This will ensure that the vdesc is present in the desc_terminated list
The descriptor will be freed later in desc_free_list().
This fixes the memory leaks which can happen when terminating an
ongoing transfer.
Fixes: ee17028009d4 ("dmaengine: tegra: Add tegra gpcdma driver")
Signed-off-by: Akhil R <akhilrajeev@nvidia.com>
Link: https://lore.kernel.org/r/20230118115801.15210-1-akhilrajeev@nvidia.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions