diff options
Diffstat (limited to 'gcc/cppinit.c')
-rw-r--r-- | gcc/cppinit.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/cppinit.c b/gcc/cppinit.c index 12844d9..44e10c8 100644 --- a/gcc/cppinit.c +++ b/gcc/cppinit.c @@ -570,7 +570,11 @@ cpp_cleanup (pfile) cpp_pop_buffer (pfile); if (pfile->macro_buffer) - free ((PTR) pfile->macro_buffer); + { + free ((PTR) pfile->macro_buffer); + pfile->macro_buffer = NULL; + pfile->macro_buffer_len = 0; + } deps_free (pfile->deps); |