diff options
author | 2013-12-12 16:36:05 +0900 | |
---|---|---|
committer | 2013-12-13 10:30:21 -0300 | |
commit | ef3072cd1d5c2ea229f7abf8d6475e0c200eeb71 (patch) | |
tree | 1adf00815b64a9f3ef4b3ff2cc8d4f6e2830913e /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | tools lib traceevent: Get rid of malloc_or_die() in show_error() (diff) | |
download | linux-dev-ef3072cd1d5c2ea229f7abf8d6475e0c200eeb71.tar.xz linux-dev-ef3072cd1d5c2ea229f7abf8d6475e0c200eeb71.zip |
tools lib traceevent: Get rid of die in add_filter_type()
The realloc() should check return value and not to overwrite previous
pointer in case of error.
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Reviewed-by: Steven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung.kim@lge.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/r/1386833777-3790-3-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions