perf tests: Fix memory leak in dso-data.c
authorFelipe Pena <felipensp@gmail.com>
Thu, 10 Oct 2013 02:00:38 +0000 (23:00 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 14 Oct 2013 13:28:54 +0000 (10:28 -0300)
commit1df9297c8535a5bb2b776381e63d8334f87d4abe
treee4b87ae3f51b9cef643a12e90c55021b9887c09d
parenta949fffb84df6f9be136198a00f796a9dc696bd0
perf tests: Fix memory leak in dso-data.c

Fix for a memory leak on test_file() function in dso-data.c.

Signed-off-by: Felipe Pena <felipensp@gmail.com>
Acked-by: Jiri Olsa <jolsa@redhat.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1381370438-4209-1-git-send-email-felipensp@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/dso-data.c