Repository navigation
Commit 6eb8992
committed
fix(mcp): share index request cleanup on early exits
Reuse the existing request-string cleanup for cross-repository mode and
index-policy load failures. Preserve short-circuit policy loading and the
raw string allocator ownership while avoiding duplicate free sites.
This addresses the memory-core lint regression in main 92abefa that
blocked the test matrix for PR #2005. No lint baseline is relaxed.
Signed-off-by: XIYBHK <xiybhk@163.com>1 parent fcf451c commit 6eb8992
1 file changed
Lines changed: 6 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11108 | 11108 | | |
11109 | 11109 | | |
11110 | 11110 | | |
11111 | | - | |
11112 | | - | |
11113 | | - | |
11114 | | - | |
11115 | | - | |
11116 | | - | |
11117 | | - | |
11118 | | - | |
| 11111 | + | |
11119 | 11112 | | |
11120 | 11113 | | |
11121 | | - | |
| 11114 | + | |
| 11115 | + | |
11122 | 11116 | | |
| 11117 | + | |
| 11118 | + | |
11123 | 11119 | | |
11124 | 11120 | | |
11125 | | - | |
| 11121 | + | |
11126 | 11122 | | |
11127 | 11123 | | |
11128 | 11124 | | |
| |||
0 commit comments