index bbf30b31552a30150d51e36c9fafde4ea9d08afd..53ac8e4425b1e87e7b6b94719deb0e50d4ad9f12 100644 (file)
@@ -531,6 +531,7 @@ llvm_compile_module(LLVMJitContext *context)
{
orc_handle = LLVMOrcAddEagerlyCompiledIR(compile_orc, context->module,
llvm_resolve_symbol, NULL);
+ LLVMDisposeModule(context->module);
}
#else
{