summaryrefslogtreecommitdiff
path: root/fs/jfs
diff options
context:
space:
mode:
authorShang XiaoJing <shangxiaojing@huawei.com>2022-09-06 11:29:06 +0800
committerArnaldo Carvalho de Melo <acme@redhat.com>2022-09-06 09:45:23 -0300
commit4efa8e314351cb3e7f229ddd3571069edf38f99a (patch)
tree78708aa6801013c0febd5ee2e3786252ee7610a4 /fs/jfs
parent6ea9da51a5c00c9d9309c4c9aa21cbe63c799c56 (diff)
downloadlinux-4efa8e314351cb3e7f229ddd3571069edf38f99a.tar.gz
linux-4efa8e314351cb3e7f229ddd3571069edf38f99a.tar.bz2
linux-4efa8e314351cb3e7f229ddd3571069edf38f99a.zip
perf c2c: Prevent potential memory leak in c2c_he_zalloc()
Free allocated resources when zalloc() fails for members in c2c_he, to prevent potential memory leak in c2c_he_zalloc(). Signed-off-by: Shang XiaoJing <shangxiaojing@huawei.com> Reviewed-by: Leo Yan <leo.yan@linaro.org> Acked-by: Jiri Olsa <jolsa@kernel.org> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lore.kernel.org/lkml/20220906032906.21395-4-shangxiaojing@huawei.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'fs/jfs')
0 files changed, 0 insertions, 0 deletions