perf/hwbp: Fix cleanup in case of kzalloc failure
authorDaniel Baluta <dbaluta@ixiacom.com>
Wed, 6 Feb 2013 21:29:20 +0000 (23:29 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 14 Feb 2013 20:06:39 +0000 (17:06 -0300)
commit02e176af92f3e2e9ec3a48792036566af2dcd534
tree9d4dd00367eeb909edf4c1a30e2e8178efb9dc5a
parent85df3b3769222894e9692b383c7af124b7721086
perf/hwbp: Fix cleanup in case of kzalloc failure

Obviously this is a typo and could result in memory leaks if kzalloc
fails on a given cpu.

Signed-off-by: Daniel Baluta <dbaluta@ixiacom.com>
Acked-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1360186160-7566-1-git-send-email-dbaluta@ixiacom.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
kernel/events/hw_breakpoint.c
This page took 0.025501 seconds and 5 git commands to generate.