Thread (2 messages) 2 messages, 2 authors, 2016-09-30

Re: [PATCH] dmaengine: jz4780: fix resource leaks on error exit return

From: Vinod Koul <hidden>
Date: 2016-09-30 17:44:23

On Thu, Sep 29, 2016 at 06:45:05PM +0100, Colin King wrote:
From: Colin Ian King <redacted>

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.
Applied, thanks

-- 
~Vinod
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help