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:
Michael Matz 2016-05-18 20:30:09 +02:00
parent e2f489aaff
commit 8080401ab0

View File

@ -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) {