Memory allocation fixes.
[perl4caml.git] / examples / loadpage.ml
index dfb4afd..6f8db96 100644 (file)
@@ -1,7 +1,7 @@
 (* Example program which uses LWP::UserAgent and HTML::TreeBuilder to
  * download an HTTP page and parse it.
  * Copyright (C) 2003 Merjis Ltd.
- * $Id: loadpage.ml,v 1.4 2003-10-16 11:03:52 rich Exp $
+ * $Id: loadpage.ml,v 1.5 2003-12-11 17:41:52 rich Exp $
  *)
 
 open Printf
@@ -56,8 +56,5 @@ let () =
   in
   print tree;
 
-  (* Destroy the Perl interpreter. *)
-  Perl.destroy (Perl.current_interpreter ());
-
   (* Perform a full collection - good way to find GC/allocation bugs. *)
   Gc.full_major ()