Fixed memory leak for multiple suites

This commit is contained in:
Snaipe 2015-03-24 01:56:17 +01:00
parent 7bb1240af1
commit a4115915f4

View file

@ -51,6 +51,7 @@ s_glob_stats *stats_init(void) {
static void destroy_suite_stats(void *ptr, UNUSED void *meta) {
s_suite_stats *stats = ptr;
sfree(stats->tests);
sfree(stats->next);
}
s_suite_stats *suite_stats_init(struct criterion_suite *s) {