summaryrefslogtreecommitdiff
path: root/glcpp
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2010-06-18 17:37:02 -0700
committerCarl Worth <cworth@cworth.org>2010-06-23 19:00:42 -0700
commita9696e79fb3afc6a4724bd16ee1ccdfebebfd0fd (patch)
treed2f476b08f00adab2317cfe42e6eacd1ddd98463 /glcpp
parent007efe50fdd87c8ceb2a700b6105ce6f00ba56e8 (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')
0 files changed, 0 insertions, 0 deletions