summaryrefslogtreecommitdiffstats
path: root/drivers/macintosh/windfarm_core.c
diff options
context:
space:
mode:
authorAkhil R <akhilrajeev@nvidia.com>2023-01-18 17:28:01 +0530
committerVinod Koul <vkoul@kernel.org>2023-01-18 22:18:38 +0530
commita7a7ee6f5a019ad72852c001abbce50d35e992f2 (patch)
tree016fe18e4292701170367f62370b90f8c9fb36b2 /drivers/macintosh/windfarm_core.c
parent596b53ccc36a546ab28e8897315c5b4d1d5a0200 (diff)
downloadlinux-a7a7ee6f5a019ad72852c001abbce50d35e992f2.tar.bz2
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 'drivers/macintosh/windfarm_core.c')
0 files changed, 0 insertions, 0 deletions