Carl Worth 12c411504c Close memory leaks in glsl_type (constructor and get_array_instance)
Add a talloc ctx to both get_array_instance and the glsl_type
constructor in order to be able to call talloc_size instead of
malloc.

This fix now makes glsl-orangebook-ch06-bump.frag 99.99% leak free:

	total heap usage: 55,623 allocs, 55,615

Only 8 missing frees now.
2010-06-23 19:00:42 -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-06-23 19:00:42 -07:00
2010-02-22 13:19:34 -08:00
2010-06-23 18:59:35 -07: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%