perf record: Release resources at exit
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 29 Jul 2010 17:08:55 +0000 (14:08 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 29 Jul 2010 17:08:55 +0000 (14:08 -0300)
commit39d17dacb3c25df878b56aa80a170d6088e041f9
tree1f78086d224ae875c024c3dc8fda0948b776f69e
parent8c31a1e049a0c26f78558d7cc5a9ab6956c86694
perf record: Release resources at exit

So that we can reduce the noise on valgrind when looking for memory
leaks.

Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-record.c