aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorZhihao Cheng <[email protected]>2020-06-01 17:10:36 +0800
committerRichard Weinberger <[email protected]>2020-09-17 22:55:41 +0200
commitf2aae745b82c842221f4f233051f9ac641790959 (patch)
tree4091cc20db14a01b693ace43b6206ad824d1816d /tools/perf/scripts/python/intel-pt-events.py
parente4c26faa426c17274884f759f708bc9ee22fd59a (diff)
ubifs: xattr: Fix some potential memory leaks while iterating entries
Fix some potential memory leaks in error handling branches while iterating xattr entries. For example, function ubifs_tnc_remove_ino() forgets to free pxent if it exists. Similar problems also exist in ubifs_purge_xattrs(), ubifs_add_orphan() and ubifs_jnl_write_inode(). Signed-off-by: Zhihao Cheng <[email protected]> Cc: <[email protected]> Fixes: 1e51764a3c2ac05a2 ("UBIFS: add new flash file system") Signed-off-by: Richard Weinberger <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions