summaryrefslogtreecommitdiffstats
path: root/llvm/docs/tutorial/JITTutorial2.html
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/docs/tutorial/JITTutorial2.html')
-rw-r--r--llvm/docs/tutorial/JITTutorial2.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/docs/tutorial/JITTutorial2.html b/llvm/docs/tutorial/JITTutorial2.html
index 1a4b05d4585..17ff78c2f0e 100644
--- a/llvm/docs/tutorial/JITTutorial2.html
+++ b/llvm/docs/tutorial/JITTutorial2.html
@@ -70,7 +70,8 @@ int main(int argc, char**argv) {
PassManager PM;
PM.add(new PrintModulePass(&llvm::cout));
PM.run(*Mod);
-
+
+ delete Mod;
return 0;
}
OpenPOWER on IntegriCloud