Repository navigation
Commit e11d590
committed
fix(test): free the return-type table in the go field-chain helper
run_go_field_chain_sequential tears down the results, registry and
cross arenas but never calls harness_ctx_free_tables, so pass_calls'
CBMReturnTypeTable (strdup'd method return types) leaked whenever the
helper ran. ASan builds caught it: AddressSanitizer: 32911 byte(s)
leaked in 6 allocation(s) from build_return_type_table, failing
test-diag, test-lsan-macos and both gcc sanitizer shards. Verify
locally: build/c/test-runner parallel -> 73 passed, no leaks.
Signed-off-by: xkchok <143325001+xkchok@users.noreply.github.com>1 parent 4d20a42 commit e11d590
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3282 | 3282 | | |
3283 | 3283 | | |
3284 | 3284 | | |
| 3285 | + | |
3285 | 3286 | | |
3286 | 3287 | | |
3287 | 3288 | | |
| |||
0 commit comments