Carl Worth dc5811fd0c Close memory leak in lexer.
Simply call talloc_strdup rather than strdup, (using the talloc_parent
of our 'state' object, (known here as yyextra).

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

	total heap usage: 55,623 allocs, 55,609 frees

Only 14 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%