diff options
Diffstat (limited to 'src/link.cpp')
| -rw-r--r-- | src/link.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/link.cpp b/src/link.cpp index 35b350df0f..475e42fd7b 100644 --- a/src/link.cpp +++ b/src/link.cpp @@ -65,6 +65,8 @@ static Buf *build_o_raw(CodeGen *parent_gen, const char *oname, Buf *full_path) os_path_join(parent_gen->cache_dir, o_out_name, output_path); codegen_link(child_gen, buf_ptr(output_path)); + codegen_destroy(child_gen); + return output_path; } |
