diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/codegen.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/codegen.c b/src/codegen.c index a45d458..5cd7ed4 100644 --- a/src/codegen.c +++ b/src/codegen.c @@ -117,6 +117,7 @@ codegen(const char *file, bitset_t *cnst, fold_t *folds, scope_t *scps, if (LLVMPrintModuleToFile(llmod, oflag, &error) == 1) { if (errno != ENXIO) err("codegen: %s: %s", oflag, error); + LLVMDisposeMessage(error); LLVMDumpModule(llmod); } } else { |