aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2008-05-19 00:20:45 +0000
committerBill Wendling <isanbard@gmail.com>2008-05-19 00:20:45 +0000
commit6acc8591d6cdd115358e572deaeb8b864763846d (patch)
treef4f335e462b80cc591c37388bc409b93fe07cfd5
parent176e8298b5914adcf9fd950e2727e4ceb46afa95 (diff)
downloadexternal_llvm-6acc8591d6cdd115358e572deaeb8b864763846d.zip
external_llvm-6acc8591d6cdd115358e572deaeb8b864763846d.tar.gz
external_llvm-6acc8591d6cdd115358e572deaeb8b864763846d.tar.bz2
Delete module.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51235 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--docs/tutorial/JITTutorial2.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/tutorial/JITTutorial2.html b/docs/tutorial/JITTutorial2.html
index 1a4b05d..17ff78c 100644
--- a/docs/tutorial/JITTutorial2.html
+++ b/docs/tutorial/JITTutorial2.html
@@ -70,7 +70,8 @@ int main(int argc, char**argv) {
PassManager PM;
PM.add(new PrintModulePass(&amp;llvm::cout));
PM.run(*Mod);
-
+
+ delete Mod;
return 0;
}