* pretty-print.c (output_buffer::~output_buffer): Really
free the obstacks.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205379
138bc75d-0d04-0410-961f-
82ee72b054a4
+2013-11-26 Richard Biener <rguenther@suse.de>
+
+ * pretty-print.c (output_buffer::~output_buffer): Really
+ free the obstacks.
+
2013-11-25 Jeff Law <law@redhat.com>
* tree-ssa-threadupdate.c (thread_through_all_blocks): Selectively
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. */