aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-06-11 21:24:40 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-06-11 21:24:40 +0200
commit1cc4571579f675923677366acc65f4dd6d8750a7 (patch)
tree2487484f52083dc3469f7195204d2c5116d8f62c /src
parent0efd0f573157a70d3b936ab6e758da6a2806fa27 (diff)
Dispose the LLVM module after use
Diffstat (limited to 'src')
-rw-r--r--src/codegen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/codegen.c b/src/codegen.c
index fd9b0d2..410f68e 100644
--- a/src/codegen.c
+++ b/src/codegen.c
@@ -74,6 +74,7 @@ codegen(struct ast ast, struct lexemes toks)
LLVMDisposeMessage(error);
LLVMDumpModule(mod);
+ LLVMDisposeModule(mod);
}
size_t