[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <163760636938.7371.10106271212043349831.kvalo@codeaurora.org>
Date: Mon, 22 Nov 2021 18:39:33 +0000 (UTC)
From: Kalle Valo <kvalo@...eaurora.org>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Cc: luciano.coelho@...el.com, davem@...emloft.net, kuba@...nel.org,
rdunlap@...radead.org, linux-wireless@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org,
Christophe JAILLET <christophe.jaillet@...adoo.fr>
Subject: Re: [PATCH] iwlwifi: Fix memory leaks in error handling path
Christophe JAILLET <christophe.jaillet@...adoo.fr> wrote:
> Should an error occur (invalid TLV len or memory allocation failure), the
> memory already allocated in 'reduce_power_data' should be freed before
> returning, otherwise it is leaking.
>
> Fixes: 9dad325f9d57 ("iwlwifi: support loading the reduced power table from UEFI")
> Signed-off-by: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Patch applied to wireless-drivers.git, thanks.
a571bc28326d iwlwifi: Fix memory leaks in error handling path
--
https://patchwork.kernel.org/project/linux-wireless/patch/1504cd7d842d13ddb8244e18004523128d5c9523.1636615284.git.christophe.jaillet@wanadoo.fr/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists