Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1288155
| From | Namhyung Kim <namhyung@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 6/7] perf tools: Free strlist on error path |
| Date | 2015-12-10 04:10 +0100 |
| Message-ID | <qDZMd-kn-3@gated-at.bofh.it> (permalink) |
| References | <qDZMd-kn-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Signed-off-by: Namhyung Kim <namhyung@kernel.org> --- tools/perf/util/thread_map.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/perf/util/thread_map.c b/tools/perf/util/thread_map.c index 6ec3c5ca438f..371fb28fe5b1 100644 --- a/tools/perf/util/thread_map.c +++ b/tools/perf/util/thread_map.c @@ -304,6 +304,7 @@ static struct thread_map *thread_map__new_by_tid_str(const char *tid_str) out_free_threads: zfree(&threads); + strlist__delete(slist); goto out; } -- 2.6.2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH 6/7] perf tools: Free strlist on error path Namhyung Kim <namhyung@kernel.org> - 2015-12-10 04:10 +0100
csiph-web