[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YzXJuI5lwF10JguR@matsya>
Date: Thu, 29 Sep 2022 22:07:12 +0530
From: Vinod Koul <vkoul@...nel.org>
To: Rafael Mendonca <rafaelmendsr@...il.com>
Cc: Fenghua Yu <fenghua.yu@...el.com>,
Dave Jiang <dave.jiang@...el.com>, dmaengine@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] dmaengine: idxd: Fix memory leak in idxd_alloc()
On 14-09-22, 20:08, Rafael Mendonca wrote:
> If the IDA id allocation fails, then the allocated memory for the
> idxd_device struct doesn't get freed before returning NULL, which leads to
> a memleak.
Applied, thanks
--
~Vinod
Powered by blists - more mailing lists