[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tip-7ecb48fde39e1d61ab8aff95581dcdfb572bcc28@git.kernel.org>
Date: Mon, 14 Dec 2015 00:14:31 -0800
From: tip-bot for Namhyung Kim <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: acme@...hat.com, hpa@...or.com, jpoimboe@...hat.com,
linux-kernel@...r.kernel.org, tglx@...utronix.de, jolsa@...hat.com,
a.p.zijlstra@...llo.nl, mingo@...nel.org, dsahern@...il.com,
namhyung@...nel.org
Subject: [tip:perf/core] perf thread_map:
Free strlist on constructor error path
Commit-ID: 7ecb48fde39e1d61ab8aff95581dcdfb572bcc28
Gitweb: http://git.kernel.org/tip/7ecb48fde39e1d61ab8aff95581dcdfb572bcc28
Author: Namhyung Kim <namhyung@...nel.org>
AuthorDate: Thu, 10 Dec 2015 12:00:58 +0900
Committer: Arnaldo Carvalho de Melo <acme@...hat.com>
CommitDate: Thu, 10 Dec 2015 15:47:51 -0300
perf thread_map: Free strlist on constructor error path
Signed-off-by: Namhyung Kim <namhyung@...nel.org>
Reviewed-by: Josh Poimboeuf <jpoimboe@...hat.com>
Cc: David Ahern <dsahern@...il.com>
Cc: Jiri Olsa <jolsa@...hat.com>
Cc: Peter Zijlstra <a.p.zijlstra@...llo.nl>
Link: http://lkml.kernel.org/r/1449716459-23004-7-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@...hat.com>
---
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 6ec3c5c..371fb28 100644
--- 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;
}
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists