Message ID | 20220819020349.747429-3-rostedt@goodmis.org (mailing list archive) |
---|---|
State | Accepted |
Commit | 9de59a020c64f4536f3a4d0dcfbcad4bbcc0f712 |
Headers | show |
Series | libtracefs: Some fixes for sqlhis | expand |
diff --git a/src/tracefs-hist.c b/src/tracefs-hist.c index 6f7d657bd404..302b9a75e6ee 100644 --- a/src/tracefs-hist.c +++ b/src/tracefs-hist.c @@ -2311,11 +2311,6 @@ int tracefs_synth_echo_cmd(struct trace_seq *seq, hist, path, synth->end_event->system, synth->end_event->name); - if (new_event) { - tracefs_dynevent_free(synth->dyn_event); - synth->dyn_event = NULL; - } - ret = 0; out_free: free(hist);