tracing: Do not call kmem_cache_free() on allocation failure
authorNamhyung Kim <namhyung.kim@lge.com>
Fri, 7 Jun 2013 06:07:48 +0000 (15:07 +0900)
committerSteven Rostedt <rostedt@goodmis.org>
Tue, 11 Jun 2013 22:38:52 +0000 (18:38 -0400)
commitaaf6ac0f0871cb7fc0f28f3a00edf329bc7adc29
tree44f9ced8832fe8e5d61a7b78a87cf4eef0667ef9
parent1b3d0623cd9da35fe1d52281ed06c2ff543cd660
tracing: Do not call kmem_cache_free() on allocation failure

There's no point calling it when _alloc() failed.

Link: http://lkml.kernel.org/r/1370585268-29169-1-git-send-email-namhyung@kernel.org
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace_events.c