Files
codebase-memory-mcp/src
Martin Vogel b020748c1d fix(pipeline): release db_path on both exits of dump_and_persist_hashes
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>
2026-08-02 18:20:37 +02:00
..
2026-07-31 11:02:01 +03:00