]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
dmaengine: moxart-dma: Fix memory leak when stopping a running transfer
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Fri, 27 Mar 2015 11:35:55 +0000 (13:35 +0200)
committerVinod Koul <vinod.koul@intel.com>
Mon, 30 Mar 2015 17:47:08 +0000 (23:17 +0530)
commitfbef403aa7b377eb238dc6cade21213c315bc1a7
tree80d3f80d753c71f9f583a5e2d5a8c1456c7dfc4b
parentf93178291712772983845700b12fc1c8b32f2eb1
dmaengine: moxart-dma: Fix memory leak when stopping a running transfer

The vd->node is removed from the lists when the transfer started so the
vchan_get_all_descriptors() will not find it. This results memory leak.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/moxart-dma.c