Re: [PATCH v1 7/8] perf report: Remove the time slices number limitation

From: Arnaldo Carvalho de Melo
Date: Tue Jan 16 2018 - 09:45:31 EST


Em Wed, Jan 10, 2018 at 11:00:32PM +0800, Jin Yao escreveu:
> error:
> + if (report.ptime_range)
> + free(report.ptime_range);
> +

You don't need to check if it is NULL, free(NULL) is ok and more
compact, I'm fixing this.

- Arnaldo