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
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