tools lib traceevent: Free field if an error occurs on process_flags/symbols
authorNamhyung Kim <namhyung.kim@lge.com>
Wed, 19 Sep 2012 06:58:44 +0000 (15:58 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 24 Sep 2012 15:03:18 +0000 (12:03 -0300)
commit70d9304475730a63dd8da884abc7c76ee4772cd2
tree8b9bbada6f72cbf601f060c50145d4b38a42358d
parentf8c49d2645e5028e48ba15ec72728be121eddf95
tools lib traceevent: Free field if an error occurs on process_flags/symbols

The field should be freed on error paths.

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-5-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/lib/traceevent/event-parse.c