[llvm-commits] [llvm] r51235 - /llvm/trunk/docs/tutorial/JITTutorial2.html
Bill Wendling
isanbard at gmail.com
Sun May 18 17:20:45 PDT 2008
Author: void
Date: Sun May 18 19:20:45 2008
New Revision: 51235
URL: http://llvm.org/viewvc/llvm-project?rev=51235&view=rev
Log:
Delete module.
Modified:
llvm/trunk/docs/tutorial/JITTutorial2.html
Modified: llvm/trunk/docs/tutorial/JITTutorial2.html
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/tutorial/JITTutorial2.html?rev=51235&r1=51234&r2=51235&view=diff
==============================================================================
--- llvm/trunk/docs/tutorial/JITTutorial2.html (original)
+++ llvm/trunk/docs/tutorial/JITTutorial2.html Sun May 18 19:20:45 2008
@@ -70,7 +70,8 @@
PassManager PM;
PM.add(new PrintModulePass(&llvm::cout));
PM.run(*Mod);
-
+
+ delete Mod;
return 0;
}
More information about the llvm-commits
mailing list