mirror of
https://github.com/DeusData/codebase-memory-mcp.git
synced 2026-12-05 04:47:43 +08:00
normalize_project_arg now decides once which of the selector and its normalized form to keep and releases the other through the single existing free(), instead of a separate encode_bare_project_arg with two more raw frees. cbm_project_name_sanitize drops its redundant "root" early return: NULL and "" already reach the empty-after-trim "root" return. Behaviour is unchanged; mcp.c and fqn.c are back at their baselines (784 / 23). Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>