Commits
![Colin Ian King](https://secure.gravatar.com/avatar/c355fbcee7cc0c3af0720ef10032ad50.jpg?s=96&d=mm)
Colin Ian King committed fc878efe84c
dmaengine: jz4780: fix resource leaks on error exit return In two cases when jz4780_dma_setup_hwdesc fails, there is a memory leak on the allocated desc and associated DMA pools on the error exit return path. Fix this by free'ing the resources before returning. Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>