From c8f08e2687664d476633d1178c94bf7aeb7af302 Mon Sep 17 00:00:00 2001 From: compudj Date: Fri, 17 Mar 2006 17:42:02 +0000 Subject: [PATCH] update filter git-svn-id: http://ltt.polymtl.ca/svn@1709 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/lttv/lttv/filter.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ltt/branches/poly/lttv/lttv/filter.c b/ltt/branches/poly/lttv/lttv/filter.c index 4025e4da..78882d69 100644 --- a/ltt/branches/poly/lttv/lttv/filter.c +++ b/ltt/branches/poly/lttv/lttv/filter.c @@ -229,8 +229,12 @@ lttv_simple_expression_assign_field(GPtrArray* fp, LttvSimpleExpression* se) { } else if(!g_strcasecmp(f->str,"field") ) { se->field = LTTV_FILTER_EVENT_FIELD; + g_string_free(f,TRUE); + f=g_ptr_array_remove_index(fp,0); } else { + g_string_free(f,TRUE); + f=g_ptr_array_remove_index(fp,0); g_warning("Unknown event filter subtype %s", f->str); } } else { -- 2.34.1