Re: [PATCH] qlcnic: Fix a memory leak in error handling path

From: David Miller
Date: Mon Feb 20 2017 - 10:34:21 EST


From: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
Date: Sun, 19 Feb 2017 10:35:05 +0100

> If 'dma_alloc_coherent()' fails, we should release resources allocated so
> far, just as done in all other cases in this function.
>
> Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>

Applied.