aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--parse-events.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/parse-events.c b/parse-events.c
index 9f88472..53aad3e 100644
--- a/parse-events.c
+++ b/parse-events.c
@@ -2183,6 +2183,11 @@ process_arg_token(struct event_format *event, struct print_arg *arg,
2183 arg->op.op = token; 2183 arg->op.op = token;
2184 arg->op.left = NULL; 2184 arg->op.left = NULL;
2185 type = process_op(event, arg, &token); 2185 type = process_op(event, arg, &token);
2186
2187 /* On error, the op is freed */
2188 if (type == EVENT_ERROR)
2189 arg->op.op = NULL;
2190
2186 /* return error type if errored */ 2191 /* return error type if errored */
2187 break; 2192 break;
2188 2193