Skip to content

Commit

Permalink
reperf frees all but the last FSM compiled
Browse files Browse the repository at this point in the history
  • Loading branch information
sfstewman authored and katef committed Dec 1, 2020
1 parent b8f082d commit 1dff40b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/retest/reperf.c
Original file line number Diff line number Diff line change
Expand Up @@ -626,6 +626,10 @@ perf_case_run(struct perf_case *c, enum halt halt,
if (fsm == NULL) {
return ERROR_PARSING_REGEXP;
}

if (iter < c->count-1) {
fsm_free(fsm);
}
}

xclock_gettime(&c1);
Expand Down

0 comments on commit 1dff40b

Please sign in to comment.