dma: of-dma.c: fix memory leakage
authorCong Ding <dinggnu@gmail.com>
Thu, 14 Feb 2013 10:16:10 +0000 (11:16 +0100)
committerVinod Koul <vinod.koul@intel.com>
Thu, 14 Feb 2013 13:41:46 +0000 (19:11 +0530)
commite68b1130dfbb834a4a028df01133591aeb59d241
tree364877c35c453e27590b1b43508ceb0f1928c942
parent877e86f28385407f05c5aa4e397d4ccb3233f01a
dma: of-dma.c: fix memory leakage

The memory allocated to ofdma might be a leakage when error occurs.

Signed-off-by: Cong Ding <dinggnu@gmail.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/of-dma.c