mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
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:
parent
94b4556704
commit
6d3ccaf366
1 changed files with 0 additions and 4 deletions
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue