Commit 65f5c720 by Richard Biener Committed by Richard Biener

pretty-print.c (output_buffer::~output_buffer): Really free the obstacks.

2013-11-26  Richard Biener  <rguenther@suse.de>

	* pretty-print.c (output_buffer::~output_buffer): Really
	free the obstacks.

From-SVN: r205379
parent 93d21097
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
......@@ -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. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment