X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Flttv%2Ffilter.c;h=abdeb464bab1bdd18f4010aeafa1e722e3a75d92;hb=ba017bc3146fe853e1f894c9828b8a08fc21e6ca;hp=dfbcaba8a7bb27b5736b0bce3163736628b07b70;hpb=ef2b07c1e21e966ba59ef7590ce8eaffdd8a8f29;p=lttv.git diff --git a/ltt/branches/poly/lttv/lttv/filter.c b/ltt/branches/poly/lttv/lttv/filter.c index dfbcaba8..abdeb464 100644 --- a/ltt/branches/poly/lttv/lttv/filter.c +++ b/ltt/branches/poly/lttv/lttv/filter.c @@ -229,6 +229,9 @@ lttv_simple_expression_assign_field(GPtrArray* fp, LttvSimpleExpression* se) { se->field = LTTV_FILTER_EVENT_FIELD; } } else { + g_string_free(f,TRUE); + f=g_ptr_array_remove_index(fp,0); + g_warning("Unrecognized field in filter string"); }