lkml.org 
[lkml]   [2020]   [Sep]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH v2 1/2] perf metric: Fix some memory leaks
Hi Jiri,

On Sun, Sep 6, 2020 at 9:41 PM Jiri Olsa <jolsa@redhat.com> wrote:
>
> On Sat, Sep 05, 2020 at 11:19:11AM +0900, Namhyung Kim wrote:
> > I found some memory leaks while reading the metric code. Some are
> > real and others only occur in the error path. When it failed during
> > metric or event parsing, it should release all resources properly.
> >
> > Cc: Kajol Jain <kjain@linux.ibm.com>
> > Cc: John Garry <john.garry@huawei.com>
> > Cc: Ian Rogers <irogers@google.com>
> > Fixes: b18f3e365019d ("perf stat: Support JSON metrics in perf stat")
> > Signed-off-by: Namhyung Kim <namhyung@kernel.org>
>
> Acked-by: Jiri Olsa <jolsa@redhat.com>

Thanks for the review. Actually I have another batch of leakage fixes
for the metric code found by ASAN. Will post it soon..

Thanks
Namhyung

\
 
 \ /
  Last update: 2020-09-07 02:28    [W:0.040 / U:0.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site