tools lib traceevent: Fix missed freeing of subargs in free_arg() in filter
authorSteven Rostedt <rostedt@goodmis.org>
Tue, 2 Oct 2012 00:23:28 +0000 (20:23 -0400)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 16 Oct 2012 16:07:05 +0000 (13:07 -0300)
commit743df75ff10630f1f2a461f0f4b51f601f53ec44
tree488d930073d83174f4244bed3deedac1acb04326
parent101782ea2c6984cf169631c59df76b8497899caf
tools lib traceevent: Fix missed freeing of subargs in free_arg() in filter

Some of args were missed in free_args(), as well as subargs.

That is args like FILTER_ARG_NUM have left and right pointers to other
args that also need to be freed.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/1349137408.22822.135.camel@gandalf.local.home
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/lib/traceevent/parse-filter.c