Revert "perf sched timehist: Fix missing free of session in perf_sched__timehist()"

This reverts commit c9c995bd56.
This commit is contained in:
Ksawlii 2024-11-24 00:23:22 +01:00
parent fc0432803d
commit e59ec4a510

View file

@ -3027,8 +3027,7 @@ static int perf_sched__timehist(struct perf_sched *sched)
if (perf_time__parse_str(&sched->ptime, sched->time_str) != 0) {
pr_err("Invalid time string\n");
err = -EINVAL;
goto out;
return -EINVAL;
}
if (timehist_check_attr(sched, evlist) != 0)