Free the return-type table pass_calls may have built for a harness-owned * ctx — mirrors the production teardown in pipeline.c; the harness never * runs it, which leaked once the fixture gained typed (Java) methods. The * fixture has no ObjectScript, so no macro table can exist here. */
| 161 | * runs it, which leaked once the fixture gained typed (Java) methods. The |
| 162 | * fixture has no ObjectScript, so no macro table can exist here. */ |
| 163 | static void harness_ctx_free_tables(cbm_pipeline_ctx_t *ctx) { |
| 164 | if (ctx->return_type_table) { |
| 165 | for (int i = 0; i < ctx->return_type_table->count; i++) { |
| 166 | free((void *)ctx->return_type_table->entries[i].return_type); |
| 167 | } |
| 168 | free((void *)ctx->return_type_table); |
| 169 | ctx->return_type_table = NULL; |
| 170 | } |
| 171 | } |
| 172 | |
| 173 | static cbm_gbuf_t *run_sequential(const char *project, const char *repo_path, |
| 174 | cbm_file_info_t *files, int file_count) { |
no outgoing calls
no test coverage detected