diff --git a/docs/tutorial/JITTutorial1.html b/docs/tutorial/JITTutorial1.html index 5228982ead8..87b7ed6da8d 100644 --- a/docs/tutorial/JITTutorial1.html +++ b/docs/tutorial/JITTutorial1.html @@ -81,6 +81,7 @@ int main(int argc, char**argv) { PM.add(new PrintModulePass(&llvm::cout)); PM.run(*Mod); + delete Mod; return 0; } @@ -161,7 +162,7 @@ function will interoperate properly with C code, which is a good thing.

   Value* tmp = builder.CreateBinOp(Instruction::Mul,
-                                    x, y, "tmp");
+                                   x, y, "tmp");
   Value* tmp2 = builder.CreateBinOp(Instruction::Add,
                                     tmp, z, "tmp2");