diff options
Diffstat (limited to 'gcc/pretty-print.c')
-rw-r--r-- | gcc/pretty-print.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/pretty-print.c b/gcc/pretty-print.c index 8cec71b7..955a4c4 100644 --- a/gcc/pretty-print.c +++ b/gcc/pretty-print.c @@ -50,8 +50,8 @@ output_buffer::output_buffer () output_buffer::~output_buffer () { - obstack_free (&chunk_obstack, obstack_finish (&chunk_obstack)); - obstack_free (&formatted_obstack, obstack_finish (&formatted_obstack)); + obstack_free (&chunk_obstack, NULL); + obstack_free (&formatted_obstack, NULL); } /* A pointer to the formatted diagnostic message. */ |