summaryrefslogtreecommitdiff
path: root/tools/perf/util/cgroup.c
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@gmail.com>2012-01-08 02:25:29 +0900
committerArnaldo Carvalho de Melo <acme@redhat.com>2012-01-08 13:27:54 -0200
commit1b22859d4320d472a7a51ff4a43f62b0578469de (patch)
tree8608f8319ad618198850943b2ddf162913abb87b /tools/perf/util/cgroup.c
parent8442da1d9f445b454accdb148355ee990ebf3b32 (diff)
perf kmem: Fix a memory leak
The 'str' should be freed when sort_dimension__add() failed too. Cc: Ingo Molnar <mingo@elte.hu> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1325957132-10600-5-git-send-email-namhyung@gmail.com Signed-off-by: Namhyung Kim <namhyung@gmail.com> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/cgroup.c')
0 files changed, 0 insertions, 0 deletions