[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160111121339.GE25015@redhat.com>
Date: Mon, 11 Jan 2016 13:13:39 +0100
From: Stanislaw Gruszka <sgruszka@...hat.com>
To: Jia-Ju Bai <baijiaju1990@....com>
Cc: kvalo@...eaurora.org, linux-wireless@...r.kernel.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] iwl4965: Fix a memory leak in error handling code of
__il4965_up
On Thu, Jan 07, 2016 at 08:17:39PM +0800, Jia-Ju Bai wrote:
> When il4965_hw_nic_init in __il4965_up fails, the memory allocated by
> iwl4965_sta_alloc_lq in iwl4965_alloc_bcast_station is not freed.
>
> This patches adds il_dealloc_bcast_stations in the error handling code of
> __il4965_up to fix this problem.
>
> This patch has been tested in real device, and it actually fixes the bug.
>
> Signed-off-by: Jia-Ju Bai <baijiaju1990@....com>
Acked-by: Stanislaw Gruszka <sgruszka@...hat.com>
Powered by blists - more mailing lists