perf kmem: Add missing closedir() calls
authorNamhyung Kim <namhyung@gmail.com>
Sat, 7 Jan 2012 17:25:28 +0000 (02:25 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sun, 8 Jan 2012 15:27:06 +0000 (13:27 -0200)
commit8442da1d9f445b454accdb148355ee990ebf3b32
tree90731e4e9acfb8b4d8d352c0a5bc84a2bd9754bd
parentcdce445906852d90efdc773ca7ba460e6e41664d
perf kmem: Add missing closedir() calls

The setup_cpunode_map() calls opendir() but misses corresponding
closedir(). Add them.

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-4-git-send-email-namhyung@gmail.com
Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-kmem.c