[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210409075425.GI31447@gondor.apana.org.au>
Date: Fri, 9 Apr 2021 17:54:25 +1000
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Colin King <colin.king@...onical.com>
Cc: "David S . Miller" <davem@...emloft.net>,
Peter Ujfalusi <peter.ujfalusi@...com>,
linux-crypto@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH][V2] crypto: sa2ul: Fix memory leak of rxd
On Thu, Apr 01, 2021 at 04:28:39PM +0100, Colin King wrote:
> From: Colin Ian King <colin.king@...onical.com>
>
> There are two error return paths that are not freeing rxd and causing
> memory leaks. Fix these.
>
> Addresses-Coverity: ("Resource leak")
> Fixes: 00c9211f60db ("crypto: sa2ul - Fix DMA mapping API usage")
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
> ---
>
> V2: Fix typo in $SUBJECT
>
> ---
> drivers/crypto/sa2ul.c | 8 ++++++--
> 1 file changed, 6 insertions(+), 2 deletions(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists