lkml.org 
[lkml]   [2022]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] powerpc: perf: Fix refcount leak bug in imc-pmu.c
Date
On Sat, 18 Jun 2022 15:13:53 +0800, Liang He wrote:
> In update_events_in_group(), of_find_node_by_phandle() will return
> a node pointer with refcount incremented. We should use of_node_put()
> in fail path or when it is not used anymore.
>
>

Applied to powerpc/next.

[1/1] powerpc: perf: Fix refcount leak bug in imc-pmu.c
https://git.kernel.org/powerpc/c/0dd8d2c8066e672244975c171816fdd9dae87721

cheers

\
 
 \ /
  Last update: 2022-09-09 14:12    [W:0.039 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site