Files
codebase-memory-mcp/internal
Martin Vogel 0e61867d9a Fix start_tag leak in the vendored SQL scanner deserialize
tree_sitter_sql_external_scanner_deserialize set state->start_tag = NULL and re-malloc'd it without freeing the previous allocation. tree-sitter calls deserialize repeatedly during a parse, leaking the prior start_tag each time (LeakSanitizer, Linux x64). Free it first — safe since create() NULL-inits it and destroy() frees+NULLs it.
2026-06-06 13:33:15 +02:00
..