tccpp: free defines also with PP_BENCH
When benchmarking preprocessing of multiple files we need to free the defines like when not benchmarking.
This commit is contained in:
parent
e2f489aaff
commit
8080401ab0
1 changed files with 3 additions and 1 deletions
4
tccpp.c
4
tccpp.c
|
@ -3709,7 +3709,9 @@ ST_FUNC int tcc_preprocess(TCCState *s1)
|
|||
|
||||
#ifdef PP_BENCH
|
||||
/* for PP benchmarks */
|
||||
do next(); while (tok != TOK_EOF); return 0;
|
||||
do next(); while (tok != TOK_EOF);
|
||||
free_defines(define_start);
|
||||
return 0;
|
||||
#endif
|
||||
|
||||
if (s1->dflag & 1) {
|
||||
|
|
Loading…
Reference in a new issue