Re: [PATCH] dmaengine: idxd: Fix memory leak in idxd_alloc()
From: Vinod Koul
Date: Thu Sep 29 2022 - 12:37:26 EST
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