diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2015-02-26 11:47:18 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2015-02-27 10:08:29 -0300 |
commit | 38ae502b1df196f712f6f5d3609afc36337b330b (patch) | |
tree | 0e2bccc1b23206d234055a9662cd3edfdc33c6ea /arch | |
parent | eb47cb2eb22dfacac9689708f5bd3cb0e975e290 (diff) | |
download | linux-stable-38ae502b1df196f712f6f5d3609afc36337b330b.tar.gz linux-stable-38ae502b1df196f712f6f5d3609afc36337b330b.tar.bz2 linux-stable-38ae502b1df196f712f6f5d3609afc36337b330b.zip |
perf probe: Handle strdup() failure
We could end up returning 0 (Ok) with a NULL raw_path. Fix it.
Acked-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Naohiro Aota <naota@elisp.net>
Link: http://lkml.kernel.org/n/tip-l0kcbcg5f4nnzqt01cv42vec@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions