update filter
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Fri, 17 Mar 2006 17:42:02 +0000 (17:42 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Fri, 17 Mar 2006 17:42:02 +0000 (17:42 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@1709 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/lttv/lttv/filter.c

index 4025e4da5d8494d024228ac343e7016445c5410d..78882d6966553603660c0caef24ae0f546cc7df6 100644 (file)
@@ -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 {
This page took 0.0250050000000001 seconds and 4 git commands to generate.