summaryrefslogtreecommitdiffstats
path: root/crypto/scompress.c
diff options
context:
space:
mode:
authorChangbin Du <changbin.du@gmail.com>2019-03-16 09:05:50 +0100
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-03-19 20:52:05 +0100
commitb49265e04410b97b31a5ee66ef6782c1b2d6cd2c (patch)
treeee2ca788da5a82e8b3778da1175df7182f2d1d48 /crypto/scompress.c
parentperf hist: Add missing map__put() in error case (diff)
downloadlinux-b49265e04410b97b31a5ee66ef6782c1b2d6cd2c.tar.xz
linux-b49265e04410b97b31a5ee66ef6782c1b2d6cd2c.zip
perf map: Remove map from 'names' tree in __maps__remove()
There are two trees for each map inserted by maps__insert(), so remove it from the 'names' tree in __maps__remove(). Detected with gcc's ASan. Signed-off-by: Changbin Du <changbin.du@gmail.com> Reviewed-by: Jiri Olsa <jolsa@kernel.org> Cc: Alexei Starovoitov <ast@kernel.org> Cc: Daniel Borkmann <daniel@iogearbox.net> Cc: Eric Saint-Etienne <eric.saint.etienne@oracle.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Steven Rostedt (VMware) <rostedt@goodmis.org> Fixes: 1e6285699b30 ("perf symbols: Fix slowness due to -ffunction-section") Link: http://lkml.kernel.org/r/20190316080556.3075-11-changbin.du@gmail.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'crypto/scompress.c')
0 files changed, 0 insertions, 0 deletions