dma: edma.c: remove edma_desc leakage
authorGeyslan G. Bem <geyslan@gmail.com>
Mon, 7 Oct 2013 22:19:58 +0000 (19:19 -0300)
committerVinod Koul <vinod.koul@intel.com>
Fri, 11 Oct 2013 02:01:47 +0000 (07:31 +0530)
commit2f6d8fad0a1636e675308088c35e863d066e0949
tree59d48738551586ad48e4ca45eb3a4299e7c30121
parent08d08bcdee30d3a28426bd60dfbdae44b36250bc
dma: edma.c: remove edma_desc leakage

Free memory allocated to edma_desc when failing to allocate slot.

Signed-off-by: Geyslan G. Bem <geyslan@gmail.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/edma.c