aboutsummaryrefslogtreecommitdiff
path: root/src/Module.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2023-11-05 18:45:21 -0500
committerGitHub <noreply@github.com>2023-11-05 18:45:21 -0500
commit1b0b46a8a9f5ed3ebaf35e3018fd5402957552ae (patch)
tree65d2ee6cb564d8c6696dd066963c62d8aced9e4d /src/Module.zig
parent702b809ea3e9b9dbdc1fd6efe9306442487e7103 (diff)
parent0ea7189c236ce0a3151cfe52f845f4ba16fd8f38 (diff)
downloadzig-1b0b46a8a9f5ed3ebaf35e3018fd5402957552ae.tar.gz
zig-1b0b46a8a9f5ed3ebaf35e3018fd5402957552ae.zip
Merge pull request #17871 from jacobly0/x86_64
x86_64: get a compiler compiled with the x86_64 backend passing x86_64 backend tests
Diffstat (limited to 'src/Module.zig')
-rw-r--r--src/Module.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Module.zig b/src/Module.zig
index 707ff41615..eda4624bd0 100644
--- a/src/Module.zig
+++ b/src/Module.zig
@@ -4120,7 +4120,7 @@ pub fn embedFile(
}
return error.ImportOutsideModulePath;
};
- errdefer gpa.free(sub_file_path);
+ defer gpa.free(sub_file_path);
return newEmbedFile(mod, cur_file.mod, sub_file_path, resolved_path, gop, src_loc);
}