]> git.baikalelectronics.ru Git - kernel.git/commit
perf tests x86: Fix memory leak in sample_ustack()
authorMasanari Iida <standby24x7@gmail.com>
Sat, 19 Apr 2014 15:16:41 +0000 (00:16 +0900)
committerJiri Olsa <jolsa@redhat.com>
Wed, 23 Apr 2014 11:19:01 +0000 (13:19 +0200)
commitd3fa7ff882736c8cf320fb97589843328c1647b8
treee38efec4d2bf05e2c43a40f1b005017f85d0c935
parentd9854b320f0535c05f68a1133a879cfea6ca372b
perf tests x86: Fix memory leak in sample_ustack()

The buf is not freed, when kernel failed to get stack map
and return.

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Link: http://lkml.kernel.org/r/1398091024-7901-1-git-send-email-standby24x7@gmail.com
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
tools/perf/arch/x86/tests/dwarf-unwind.c