diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2017-10-15 21:06:04 -0400 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2017-10-15 21:06:04 -0400 |
| commit | 562f91e875e870eb9f2948dd4de607441f5a6be9 (patch) | |
| tree | bb1860a238106bade81cfdde40cea637680caec2 /src/link.cpp | |
| parent | e3ad13e05425b3afc9dbac19438ee8a978dcd1e8 (diff) | |
| download | zig-562f91e875e870eb9f2948dd4de607441f5a6be9.tar.gz zig-562f91e875e870eb9f2948dd4de607441f5a6be9.zip | |
clean up some resources
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; } |
