summaryrefslogtreecommitdiff
path: root/glcpp/tests/039-func-arg-obj-macro-with-comma.c.expected
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2010-06-18 17:43:40 -0700
committerCarl Worth <cworth@cworth.org>2010-06-23 19:00:42 -0700
commitdc5811fd0c7600b165ddd4e04a0ccae69bb19ec8 (patch)
tree3c5c943c86c9e6175400e79617d48325438e6ba4 /glcpp/tests/039-func-arg-obj-macro-with-comma.c.expected
parenta9696e79fb3afc6a4724bd16ee1ccdfebebfd0fd (diff)
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.
Diffstat (limited to 'glcpp/tests/039-func-arg-obj-macro-with-comma.c.expected')
0 files changed, 0 insertions, 0 deletions