diff options
| author | Michael Matz <matz@suse.de> | 2016-05-18 20:30:09 +0200 |
|---|---|---|
| committer | Michael Matz <matz@suse.de> | 2016-12-15 17:47:05 +0100 |
| commit | 8080401ab00aea30a1df70e36b55d3ff745d00c8 (patch) | |
| tree | bca056b5c504868f39bcb99fd41ec9fb4f6e8d36 /tccpp.c | |
| parent | e2f489aaffdc5806a993a04c121a5b75ac08daaf (diff) | |
| download | tinycc-8080401ab00aea30a1df70e36b55d3ff745d00c8.tar.gz tinycc-8080401ab00aea30a1df70e36b55d3ff745d00c8.tar.bz2 | |
tccpp: free defines also with PP_BENCH
When benchmarking preprocessing of multiple files we need to
free the defines like when not benchmarking.
Diffstat (limited to 'tccpp.c')
| -rw-r--r-- | tccpp.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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) { |
