diff options
author | Carl Worth <cworth@cworth.org> | 2010-06-23 18:30:55 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2010-06-23 19:00:42 -0700 |
commit | 007efe50fdd87c8ceb2a700b6105ce6f00ba56e8 (patch) | |
tree | d84ce32650b7cc667b987187068a5c3363d3a400 /glcpp/tests | |
parent | e01193af325cbdde51b3219c85c58f19d5a87f1b (diff) |
s_symbol: Close memory leak of symbol name.
Easily done now that s_expression is allocated with talloc. Simply
switch from new to talloc_strdup and the job is done.
This closes the great majority (11263) of the remaining leaks in the
glsl-orangebook-ch06-bump.frag test:
total heap usage: 55,623 allocs, 55,546 frees
(was 44,283 frees)
This test is now 99.86% leak-free.
Diffstat (limited to 'glcpp/tests')
0 files changed, 0 insertions, 0 deletions