[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YxbNLphbuGjCezww@leoy-huanghe.lan>
Date: Tue, 6 Sep 2022 12:31:42 +0800
From: Leo Yan <leo.yan@...aro.org>
To: Shang XiaoJing <shangxiaojing@...wei.com>
Cc: peterz@...radead.org, mingo@...hat.com, acme@...nel.org,
mark.rutland@....com, alexander.shishkin@...ux.intel.com,
jolsa@...nel.org, namhyung@...nel.org,
linux-perf-users@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 3/3] perf c2c: Prevent potential memory leak in
c2c_he_zalloc
On Tue, Sep 06, 2022 at 11:29:06AM +0800, Shang XiaoJing wrote:
> Free allocated resources when zalloc is failed for members in c2c_he, to
> prevent potential memory leak in c2c_he_zalloc.
>
> Signed-off-by: Shang XiaoJing <shangxiaojing@...wei.com>
> Acked-by: Jiri Olsa <jolsa@...nel.org>
Reviewed-by: Leo Yan <leo.yan@...aro.org>
Powered by blists - more mailing lists