Message ID | 20230324200924.287521-3-rostedt@goodmis.org (mailing list archive) |
---|---|
State | Accepted |
Commit | e6f7cfa0f0d432451b77d228f87287310f34d7c2 |
Headers | show |
Series | libtraceevent: Fix double free in process_sizeof() | expand |
diff --git a/src/event-parse.c b/src/event-parse.c index 2584b3605136..4a8b81c33a45 100644 --- a/src/event-parse.c +++ b/src/event-parse.c @@ -3586,7 +3586,7 @@ process_sizeof(struct tep_event *event, struct tep_print_arg *arg, char **tok) if (ret < 0) goto error; - } else if (!ok) { + } else { goto error; }