perf tests: Fix leaks on PERF_RECORD_* test
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 25 Jan 2013 16:10:00 +0000 (13:10 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 30 Jan 2013 13:35:02 +0000 (10:35 -0300)
commitec13abc37f71c89189350dce491189fb5b659184
treeba8dce3257409d11df66650b4e8d9c35493f6295
parentc0aab59f67ef47e52d151464c8dd16e7ae58d053
perf tests: Fix leaks on PERF_RECORD_* test

This test:

 7: Validate PERF_RECORD_* events & perf_sample fields

needs to call perf_evlist__delete_maps().

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-t3181qy15avffdacqjcxfku2@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/perf-record.c