[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f6b4f549-1b14-4212-d81b-1201f0ce6b3d@embeddedor.com>
Date: Mon, 2 Jul 2018 08:01:32 -0500
From: "Gustavo A. R. Silva" <gustavo@...eddedor.com>
To: Tony Lindgren <tony@...mide.com>
Cc: Kalle Valo <kvalo@...eaurora.org>,
"David S. Miller" <davem@...emloft.net>,
linux-wireless@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] wlcore: Fix memory leak in
wlcore_cmd_wait_for_event_or_timeout
On 07/02/2018 06:30 AM, Tony Lindgren wrote:
> * Gustavo A. R. Silva <gustavo@...eddedor.com> [180628 13:11]:
>> In case memory resources for *events_vector* were allocated, release
>> them before return.
>>
>> Addresses-Coverity-ID: 1470194 ("Resource leak")
>> Fixes: 4ec7cece87b3 ("wlcore: Add missing PM call for wlcore_cmd_wait_for_event_or_timeout()")
>> Signed-off-by: Gustavo A. R. Silva <gustavo@...eddedor.com>
>
> Thanks for catching this one:
>
> Acked-by: Tony Lindgren <tony@...mide.com>
>
Glad to help. :)
Thanks
--
Gustavo
Powered by blists - more mailing lists