aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorAkhil R <[email protected]>2023-01-18 17:28:01 +0530
committerVinod Koul <[email protected]>2023-01-18 22:18:38 +0530
commita7a7ee6f5a019ad72852c001abbce50d35e992f2 (patch)
tree016fe18e4292701170367f62370b90f8c9fb36b2 /tools/testing/selftests/bpf/progs/test_autoload.c
parent596b53ccc36a546ab28e8897315c5b4d1d5a0200 (diff)
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions