diff options
author | Namhyung Kim <namhyung@kernel.org> | 2014-08-12 08:40:33 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2014-08-13 21:29:43 +0200 |
commit | 6cc870f09da4d50722bc1caa27cad51733ce36f6 (patch) | |
tree | 7d24778758cdc24fe86b718cb26c807f35b101ca /lib/percpu_test.c | |
parent | perf tools: Prefer to use a cpu-wide event for probing CLOEXEC (diff) | |
download | linux-6cc870f09da4d50722bc1caa27cad51733ce36f6.tar.xz linux-6cc870f09da4d50722bc1caa27cad51733ce36f6.zip |
perf script: Fix possible memory leaks
Some paths in perf script don't call perf_session__delete() after
creating a new session.
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Namhyung Kim <namhyung.kim@lge.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1407825645-24586-2-git-send-email-namhyung@kernel.org
[ Saved errno value before calling perror(), as pointed out by Adrian Hunter ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'lib/percpu_test.c')
0 files changed, 0 insertions, 0 deletions