commit | 429770823d961187c39df490d49683c467b10065 | [log] [tgz] |
---|---|---|
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | Tue May 26 13:11:28 2015 +0300 |
committer | Vinod Koul <vinod.koul@intel.com> | Tue Jun 02 18:33:08 2015 +0530 |
tree | 1b64e2ad6ce073b73c31faed43653151cd0584cd | |
parent | 81cc6edc08705ac0146fe6ac14a0982a31ce6f3d [diff] |
dmaengine: hsu: 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> [andy: fix the typo to prevent a compilation error] Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>