perf top: Delete maps on exit
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 30 Jan 2013 17:01:20 +0000 (14:01 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 31 Jan 2013 16:07:43 +0000 (13:07 -0300)
commit0de233b9c4f8c83b2cb655bfdbec306c8da81199
treefde2a051187b86a31631bc9c2aca3a40b2a467c7
parent11859e821761e9738c4d8a0e7d6ca1cc2e0d37e8
perf top: Delete maps on exit

Removing one more memory leak found with valgrind.

Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-gnb1gms0k8wictmtm2umpr8u@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-top.c