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.
This commit is contained in:
@@ -474,9 +474,5 @@ _mesa_program_lexer_ctor(void **scanner, struct asm_parser_state *state,
|
|||||||
void
|
void
|
||||||
_mesa_program_lexer_dtor(void *scanner)
|
_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);
|
yylex_destroy(scanner);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user