aboutsummaryrefslogtreecommitdiff
path: root/gcc/cppmain.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cppmain.c')
-rw-r--r--gcc/cppmain.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/cppmain.c b/gcc/cppmain.c
index c0dec16..2e31fae 100644
--- a/gcc/cppmain.c
+++ b/gcc/cppmain.c
@@ -117,6 +117,8 @@ main (argc, argv)
< CPP_WRITTEN (&parse_in))
cpp_pfatal_with_name (&parse_in, opts->out_fname);
+ cpp_cleanup (&parse_in);
+
if (parse_in.errors)
return (FATAL_EXIT_CODE);
return (SUCCESS_EXIT_CODE);