aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorTaeung Song <[email protected]>2016-06-07 18:26:11 +0900
committerArnaldo Carvalho de Melo <[email protected]>2016-06-07 10:58:55 -0300
commit25d8f48f78f37dd6af08bd11212ab3d53a4c8cc6 (patch)
tree8a1a395f662939bc8f0079828d7e938623923777 /tools/perf/scripts/python/export-to-postgresql.py
parentc58c49ac630979a285d574b3f72a528209515fb3 (diff)
perf config: Constructor should free its allocated memory when failing
Because of die() at perf_parse_file() a config set was freed in collect_config(), if failed. But it is natural to free a config set after collect_config() is done when some problems happened. So, in case of failure, lastly free a config set at perf_config_set__new() instead of freeing the config set in collect_config(). Signed-off-by: Taeung Song <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Masami Hiramatsu <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions