aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/python.c
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2012-01-07 17:25:29 +0000
committerArnaldo Carvalho de Melo <[email protected]>2012-01-08 15:27:54 +0000
commit1b22859d4320d472a7a51ff4a43f62b0578469de (patch)
tree8608f8319ad618198850943b2ddf162913abb87b /tools/perf/util/python.c
parentperf kmem: Add missing closedir() calls (diff)
downloadkernel-1b22859d4320d472a7a51ff4a43f62b0578469de.tar.gz
kernel-1b22859d4320d472a7a51ff4a43f62b0578469de.zip
perf kmem: Fix a memory leak
The 'str' should be freed when sort_dimension__add() failed too. Cc: Ingo Molnar <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Namhyung Kim <[email protected]> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/python.c')
0 files changed, 0 insertions, 0 deletions