dump the module *before* we delete it, not after.

llvm-svn: 46741
diff --git a/llvm/docs/tutorial/LangImpl7.html b/llvm/docs/tutorial/LangImpl7.html
index 740e956..3cd02a7 100644
--- a/llvm/docs/tutorial/LangImpl7.html
+++ b/llvm/docs/tutorial/LangImpl7.html
@@ -2129,11 +2129,12 @@
     MainLoop();
     
     TheFPM = 0;
-  }  // Free module provider and pass manager.
-                                   
-                                   
-  // Print out all of the generated code.
-  TheModule->dump();
+    
+    // Print out all of the generated code.
+    TheModule->dump();
+    
+  }  // Free module provider (and thus the module) and pass manager.
+  
   return 0;
 }
 </pre>