Message ID | 20230817204528.114577-2-rostedt@goodmis.org (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | libtraceeval histogram: Updates | expand |
diff --git a/src/histograms.c b/src/histograms.c index a159892e509b..d22d15238616 100644 --- a/src/histograms.c +++ b/src/histograms.c @@ -681,7 +681,7 @@ void traceeval_results_release(struct traceeval *teval, union traceeval_data *results) { if (!teval || !results) { - if (!results) + if (!teval) print_err("Results to be freed without accompanied traceeval instance!"); return; }