mirror of
https://github.com/DeusData/codebase-memory-mcp.git
synced 2026-10-28 07:03:20 +08:00
Follow-up to #207: - cbm_watcher_new: NULL-check cbm_ht_create() and free w on OOM so later watch/unwatch/touch don't dereference a NULL hash table. - cbm_watcher_watch_count: drop const from the signature and remove the const_cast around projects_lock. The function necessarily touches synchronization primitives so a const receiver was misleading; all current callers pass a non-const pointer.