diff options
author | Carl Worth <cworth@cworth.org> | 2010-06-18 17:37:02 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2010-06-23 19:00:42 -0700 |
commit | a9696e79fb3afc6a4724bd16ee1ccdfebebfd0fd (patch) | |
tree | d2f476b08f00adab2317cfe42e6eacd1ddd98463 /glcpp/tests/012-define-func-no-args.c.expected | |
parent | 007efe50fdd87c8ceb2a700b6105ce6f00ba56e8 (diff) |
main: Close memory leak of shader string from load_text_file.
Could have just added a call to free() to main, but since we're using
talloc everywhere else, we might as well just use it here too. So pass
a new 'ctx' argument to load_text_file.
This removes a single memory leak from all invocations of the
standalone glsl compiler.
Diffstat (limited to 'glcpp/tests/012-define-func-no-args.c.expected')
0 files changed, 0 insertions, 0 deletions