diff options
author | Namhyung Kim <namhyung.kim@lge.com> | 2012-01-20 01:12:45 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2012-01-21 08:33:41 (GMT) |
commit | fd45c15f13e754f3c106427e857310f3e0813951 (patch) | |
tree | 18c02a2b1037b773813b2f20fc4d826d7645ad96 /MAINTAINERS | |
parent | dcd6c92267155e70a94b3927bce681ce74b80d1f (diff) | |
download | linux-fd45c15f13e754f3c106427e857310f3e0813951.tar.xz |
perf: Don't call release_callchain_buffers() if allocation fails
When alloc_callchain_buffers() fails, it frees all of
entries before return. In addition, calling the
release_callchain_buffers() will cause a NULL pointer
dereference since callchain_cpu_entries is not set.
Signed-off-by: Namhyung Kim <namhyung.kim@lge.com>
Acked-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Link: http://lkml.kernel.org/r/1327021966-27688-1-git-send-email-namhyung.kim@lge.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions