mirror of
https://github.com/DeusData/codebase-memory-mcp.git
synced 2026-11-12 09:47:20 +08:00
resolve_db_path returns a strdup the function owns, but neither the publish-failure return nor the success tail freed it -- cbm_pipeline_refresh_artifact only borrows the pointer. Every pipeline run leaked one path string; LeakSanitizer on the Linux leg aborted the pipeline, index_resilience and mcp suites over exactly this pair of exits (every leaked allocation across the leg traced to this single strdup). macOS stayed green because this setup has no leak detection there, which is precisely why the Linux leg exists. Linux container, same three suites under LSan: green after the fix. Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>