]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerIngo Molnar <mingo@kernel.org>
Thu, 7 Feb 2013 10:52:19 +0000 (11:52 +0100)
commite97cbe3edf7d88aad4c21dd3de124d9f9d039881
tree6b2d14cc69fa7fe029866b56b329f0c60a1a0338
parent1589a3e7777631ff56dd58cd7dcdf275185e62b5
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: a.p.zijlstra@chello.nl
Cc: paulus@samba.org
Cc: acme@ghostprotocols.net
Link: http://lkml.kernel.org/r/1360186160-7566-1-git-send-email-dbaluta@ixiacom.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/events/hw_breakpoint.c