Carl Worth 8f52c9b5fc ast_node: Add new talloc-based new()
And use the talloc-based new for all of the ast objects created by the
parser.  This closes a lot of memory leaks, and will allow us to use
these ast objects as talloc parents in the future, (for things like
exec_nodes, etc.).

This closes 164 leaks in the glsl-orangebook-ch06-bump.frag test:

	total heap usage: 55,623 allocs, 14,553 frees
	(was 14,389 frees)
2010-06-23 18:15:28 -07:00
2010-06-23 11:24:26 -07:00
2010-03-08 13:02:58 -08:00
2010-06-23 18:15:28 -07:00
2010-02-25 17:17:23 -08:00
2010-06-09 11:14:58 -07:00
2010-02-22 13:19:34 -08:00
S
Description
No description provided
538 MiB
Languages
C 75.5%
C++ 17.2%
Python 2.7%
Rust 1.8%
Assembly 1.5%
Other 1%