dma: edma: Fix memory leak

When it fails to allocate a slot, edesc should be free'd before return;

Signed-off-by: Valentin Ilie <valentin.ilie@gmail.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
This commit is contained in:
Valentin Ilie 2013-10-24 16:14:22 +03:00 • committed by Vinod Koul
commit 4b6271a644