Colin Ian King fc878efe84 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>
2016-09-30 23:22:26 +05:30
..
2016-07-23 16:07:29 +05:30
2016-07-16 20:10:17 +05:30
2016-07-28 15:45:17 -07:00
2013-01-07 17:36:37 +01:00
2016-03-24 23:13:48 -07:00
2016-07-12 10:09:53 +05:30
2016-07-28 15:45:17 -07:00
2016-05-27 15:26:11 -07:00
2015-11-10 10:05:17 -08:00