tools lib traceevent: Fix error path on process_array()
authorNamhyung Kim <namhyung.kim@lge.com>
Wed, 19 Sep 2012 06:58:41 +0000 (15:58 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 24 Sep 2012 15:00:15 +0000 (12:00 -0300)
commit1bce6e0fec28434fd66de585773a14bf4d2c3715
treeb280f077322461b6873af65d235d057f92cdcbaf
parentbcbd004020bf0d725722be75da35fd326ff63ef4
tools lib traceevent: Fix error path on process_array()

free_token() under out_free should be called with 'token' and no need
to set *tok to NULL since it's set already.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/r/1348037924-17568-2-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/lib/traceevent/event-parse.c