summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2009-07-27 12:38:52 -0700
committerIan Romanick <ian.d.romanick@intel.com>2009-07-27 12:38:52 -0700
commit6d3ccaf3665ce4c137cdeb614a518e58d4cd8aef (patch)
tree345c207bdd43b65f549c06c4269753977518a75a
parent94b45567047fd681666f261f1ad0164049f0491a (diff)
ARB prog: Delete comment about possibly needing to free a buffer
Valgrind doesn't complain about a leak here, so delete the comment about possibly needing to free the state returned by yy_scan_bytes.
-rw-r--r--src/mesa/shader/program_lexer.l4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/shader/program_lexer.l b/src/mesa/shader/program_lexer.l
index 2d20772631..c952f09040 100644
--- 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);
}