projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8a5c0b
)
perf thread_map: Free strlist on constructor error path
author
Namhyung Kim
<namhyung@kernel.org>
Thu, 10 Dec 2015 03:00:58 +0000
(12:00 +0900)
committer
Arnaldo Carvalho de Melo
<acme@redhat.com>
Thu, 10 Dec 2015 18:47:51 +0000
(15:47 -0300)
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Reviewed-by: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link:
http://lkml.kernel.org/r/1449716459-23004-7-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/thread_map.c
patch
|
blob
|
history
diff --git
a/tools/perf/util/thread_map.c
b/tools/perf/util/thread_map.c
index
6ec3c5c
..
371fb28
100644
(file)
--- a/
tools/perf/util/thread_map.c
+++ b/
tools/perf/util/thread_map.c
@@
-304,6
+304,7
@@
out:
out_free_threads:
zfree(&threads);
+ strlist__delete(slist);
goto out;
}