projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94b4556
)
ARB prog: Delete comment about possibly needing to free a buffer
author
Ian Romanick
<ian.d.romanick@intel.com>
Mon, 27 Jul 2009 19:38:52 +0000
(12:38 -0700)
committer
Ian Romanick
<ian.d.romanick@intel.com>
Mon, 27 Jul 2009 19:38:52 +0000
(12:38 -0700)
Valgrind doesn't complain about a leak here, so delete the comment
about possibly needing to free the state returned by yy_scan_bytes.
src/mesa/shader/program_lexer.l
patch
|
blob
|
history
diff --git
a/src/mesa/shader/program_lexer.l
b/src/mesa/shader/program_lexer.l
index 2d20772631570fdaa777f50b3bc05adc5a3b5d6c..c952f0904017d9242ec33221267b7af382cdb45c 100644
(file)
--- a/
src/mesa/shader/program_lexer.l
+++ b/
src/mesa/shader/program_lexer.l
@@
-474,9
+474,5
@@
_mesa_program_lexer_ctor(void **scanner, struct asm_parser_state *state,
void
_mesa_program_lexer_dtor(void *scanner)
{
- /* FINISHME: It's not clear to me whether or not the buffer state returned
- * FINISHME: by yy_scan_bytes in _mesa_program_lexer_ctor needs to be
- * FINISHME: explicitly destroyed here or not.
- */
yylex_destroy(scanner);
}