[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160930175250.GY2467@localhost>
Date: Fri, 30 Sep 2016 23:22:50 +0530
From: Vinod Koul <vinod.koul@...el.com>
To: Colin King <colin.king@...onical.com>
Cc: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@...tec.com>,
Dan Williams <dan.j.williams@...el.com>,
dmaengine@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] dmaengine: jz4780: fix resource leaks on error exit
return
On Thu, Sep 29, 2016 at 06:45:05PM +0100, Colin King wrote:
> From: Colin Ian King <colin.king@...onical.com>
>
> 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
Powered by blists - more mailing lists