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. */
| 191 | * runs it, which leaked once the fixture gained typed (Java) methods. The |
| 192 | * fixture has no ObjectScript, so no macro table can exist here. */ |
| 193 | static void harness_ctx_free_tables(cbm_pipeline_ctx_t *ctx) { |
| 194 | if (ctx->return_type_table) { |
| 195 | for (int i = 0; i < ctx->return_type_table->count; i++) { |
| 196 | free((void *)ctx->return_type_table->entries[i].return_type); |
| 197 | } |
| 198 | free((void *)ctx->return_type_table); |
| 199 | ctx->return_type_table = NULL; |
| 200 | } |
| 201 | } |
| 202 | |
| 203 | static cbm_gbuf_t *run_sequential(const char *project, const char *repo_path, |
| 204 | cbm_file_info_t *files, int file_count) { |
no outgoing calls
no test coverage detected