Subject: Re: wlcore: Fix memory leak in wlcore_cmd_wait_for_event_or_timeout

From: Kalle Valo <[email-masked]>
Date: Wed, 4 Jul 2018 15:14:30 +0000 (UTC)

"Gustavo A. R. Silva" <[email-masked]> wrote:

> 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 <[email-masked]>
> Acked-by: Tony Lindgren <[email-masked]>

Patch applied to wireless-drivers-next.git, thanks.

04614fe46f31 wlcore: Fix memory leak in wlcore_cmd_wait_for_event_or_timeout

-- 
https://patchwork.kernel.org/patch/10493849/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches