aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tccpp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tccpp.c b/tccpp.c
index d2b8e96..ebbd051 100644
--- a/tccpp.c
+++ b/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) {