"Gustavo A. R. Silva" <gustavo@xxxxxxxxxxxxxx> 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 <gustavo@xxxxxxxxxxxxxx> > Acked-by: Tony Lindgren <tony@xxxxxxxxxxx> 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