Thread (3 messages) 3 messages, 3 authors, 2021-01-26

Re: [PATCH] dmaengine: ti: k3-udma: Fix a resource leak in an error handling path

From: Vinod Koul <vkoul@kernel.org>
Date: 2021-01-26 18:13:56
Also in: kernel-janitors, lkml

On 24-01-21, 08:09, Christophe JAILLET wrote:
In 'dma_pool_create()', we return -ENOMEM, but don't release the resources
already allocated, as in all the other error handling paths.

Go to 'err_res_free' instead of returning directly.
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